From 99beb7e6859df5669ad96ebab67d9996ae8f3db7 Mon Sep 17 00:00:00 2001 From: Omer Yacine Date: Thu, 26 Sep 2024 15:58:12 +0300 Subject: [PATCH] to revert: attaching test logs for cancel order this is a concatenation of multiple runs, some fail and some succeed. wierdly, all the succeeding ones were performed while connected to my vpn (vpn.mariocynicys.me), all the failing are with no vpn! --- cancel_all_orders.log | 627 ++ cancel_order.log | 19898 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 20525 insertions(+) create mode 100644 cancel_all_orders.log create mode 100644 cancel_order.log diff --git a/cancel_all_orders.log b/cancel_all_orders.log new file mode 100644 index 0000000000..094be6c70a --- /dev/null +++ b/cancel_all_orders.log @@ -0,0 +1,627 @@ + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.02s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +25 09:40:56, mm2_tests_inner:1595] Bob log path: /tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/mm2.log +25 09:40:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.42:7783 +25 09:40:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.42:7783 +25 09:40:56, mm2_tests_inner:1597] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +25 09:40:57, mm2_tests_inner:1602] Issue sell request on Bob side by setting base/rel price… +25 09:40:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.42:7783 +25 09:40:57, mm2_tests_inner:1614] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727257257705), "updated_at": Number(1727257257705), "matches": Object({}), "started_swaps": Array([]), "uuid": String("d5ad80c9-b091-4dd2-b8f7-3b1b06607030"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +25 09:40:57, mm2_tests_inner:1634] Alice log path: /tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/mm2.log +25 09:40:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.128:7783 +25 09:40:58, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.128:7783 +25 09:40:57, mm2_tests_inner:1637] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +25 09:40:59, mm2_tests_inner:1642] Give Alice 3 seconds to import the order… +25 09:41:02, mm2_tests_inner:1645] Get RICK/MORTY orderbook on Alice side +25 09:41:02, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.128:7783 +25 09:41:02, mm2_tests_inner:1656] Alice orderbook Object({"askdepth": Number(0), "asks": Array([Object({"coin": String("RICK"), "address": String("RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "price_fraction": Object({"numer": String("9"), "denom": String("10")}), "maxvolume": String("0.9"), "max_volume_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_volume_fraction": Object({"numer": String("9"), "denom": String("10")}), "min_volume": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "min_volume_fraction": Object({"numer": String("1"), "denom": String("9000")}), "pubkey": String("022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420"), "age": Number(5), "uuid": String("d5ad80c9-b091-4dd2-b8f7-3b1b06607030"), "is_mine": Bool(false), "base_max_volume": String("0.9"), "base_max_volume_fraction": Object({"numer": String("9"), "denom": String("10")}), "base_max_volume_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "base_min_volume": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "base_min_volume_fraction": Object({"numer": String("1"), "denom": String("9000")}), "base_min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "rel_max_volume": String("0.81"), "rel_max_volume_fraction": Object({"numer": String("81"), "denom": String("100")}), "rel_max_volume_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])]), "rel_min_volume": String("0.0001"), "rel_min_volume_fraction": Object({"numer": String("1"), "denom": String("10000")}), "rel_min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(10000)])])]), "base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false), "base_max_volume_aggr": String("0.9"), "base_max_volume_aggr_fraction": Object({"numer": String("9"), "denom": String("10")}), "base_max_volume_aggr_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "rel_max_volume_aggr": String("0.81"), "rel_max_volume_aggr_fraction": Object({"numer": String("81"), "denom": String("100")}), "rel_max_volume_aggr_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])])})]), "base": String("RICK"), "biddepth": Number(0), "bids": Array([]), "netid": Number(9998), "numasks": Number(1), "numbids": Number(0), "rel": String("MORTY"), "timestamp": Number(1727257262), "total_asks_base_vol": String("0.9"), "total_asks_base_vol_fraction": Object({"numer": String("9"), "denom": String("10")}), "total_asks_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "total_asks_rel_vol": String("0.81"), "total_asks_rel_vol_fraction": Object({"numer": String("81"), "denom": String("100")}), "total_asks_rel_vol_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])]), "total_bids_base_vol": String("0"), "total_bids_base_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_base_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])]), "total_bids_rel_vol": String("0"), "total_bids_rel_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_rel_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])])}) +25 09:41:02, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_all_orders","cancel_by":{"type":"All"}} to http://127.0.0.42:7783 +25 09:41:02, mm2_tests_inner:1677] Cancelation response: Object({"result": Object({"cancelled": Array([String("d5ad80c9-b091-4dd2-b8f7-3b1b06607030")]), "currently_matching": Array([])})}) +25 09:41:02, mm2_tests_inner:1680] Waiting (20 seconds) for Bob to cancel the order… +25 09:41:22, mm2_tests_inner:1684] Get RICK/MORTY orderbook on Bob side +25 09:41:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.42:7783 +25 09:41:22, mm2_tests_inner:1695] Bob orderbook Object({"askdepth": Number(0), "asks": Array([]), "base": String("RICK"), "biddepth": Number(0), "bids": Array([]), "netid": Number(9998), "numasks": Number(0), "numbids": Number(0), "rel": String("MORTY"), "timestamp": Number(1727257282), "total_asks_base_vol": String("0"), "total_asks_base_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_asks_base_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])]), "total_asks_rel_vol": String("0"), "total_asks_rel_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_asks_rel_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])]), "total_bids_base_vol": String("0"), "total_bids_base_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_base_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])]), "total_bids_rel_vol": String("0"), "total_bids_rel_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_rel_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])])}) +25 09:41:22, mm2_tests_inner:1700] Get RICK/MORTY orderbook on Alice side +25 09:41:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.128:7783 +25 09:41:22, mm2_tests_inner:1711] Alice orderbook Object({"askdepth": Number(0), "asks": Array([Object({"coin": String("RICK"), "address": String("RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "price_fraction": Object({"numer": String("9"), "denom": String("10")}), "maxvolume": String("0.9"), "max_volume_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_volume_fraction": Object({"numer": String("9"), "denom": String("10")}), "min_volume": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "min_volume_fraction": Object({"numer": String("1"), "denom": String("9000")}), "pubkey": String("022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420"), "age": Number(25), "uuid": String("d5ad80c9-b091-4dd2-b8f7-3b1b06607030"), "is_mine": Bool(false), "base_max_volume": String("0.9"), "base_max_volume_fraction": Object({"numer": String("9"), "denom": String("10")}), "base_max_volume_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "base_min_volume": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "base_min_volume_fraction": Object({"numer": String("1"), "denom": String("9000")}), "base_min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "rel_max_volume": String("0.81"), "rel_max_volume_fraction": Object({"numer": String("81"), "denom": String("100")}), "rel_max_volume_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])]), "rel_min_volume": String("0.0001"), "rel_min_volume_fraction": Object({"numer": String("1"), "denom": String("10000")}), "rel_min_volume_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(10000)])])]), "base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false), "base_max_volume_aggr": String("0.9"), "base_max_volume_aggr_fraction": Object({"numer": String("9"), "denom": String("10")}), "base_max_volume_aggr_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "rel_max_volume_aggr": String("0.81"), "rel_max_volume_aggr_fraction": Object({"numer": String("81"), "denom": String("100")}), "rel_max_volume_aggr_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])])})]), "base": String("RICK"), "biddepth": Number(0), "bids": Array([]), "netid": Number(9998), "numasks": Number(1), "numbids": Number(0), "rel": String("MORTY"), "timestamp": Number(1727257282), "total_asks_base_vol": String("0.9"), "total_asks_base_vol_fraction": Object({"numer": String("9"), "denom": String("10")}), "total_asks_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "total_asks_rel_vol": String("0.81"), "total_asks_rel_vol_fraction": Object({"numer": String("81"), "denom": String("100")}), "total_asks_rel_vol_rat": Array([Array([Number(1), Array([Number(81)])]), Array([Number(1), Array([Number(100)])])]), "total_bids_base_vol": String("0"), "total_bids_base_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_base_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])]), "total_bids_rel_vol": String("0"), "total_bids_rel_vol_fraction": Object({"numer": String("0"), "denom": String("1")}), "total_bids_rel_vol_rat": Array([Array([Number(0), Array([])]), Array([Number(1), Array([Number(1)])])])}) +vvv "/tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/mm2.log" vvv +running 1 test +25 09:40:57, mod:26] test_mm_start] Starting the MarketMaker... +25 09:40:57, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +25 09:40:57, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +25 09:40:57, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +25 09:40:57, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") +25 09:40:57, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +25 09:40:57, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.42/tcp/47771 +25 09:40:57, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.42/tcp/47771 +25 09:40:57, libp2p_tcp:476] DEBUG dialing 127.0.0.42:47771 +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +25 09:40:57, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +25 09:40:57, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +25 09:40:57, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-57-708_127.0.0.128/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +25 09:40:57, mm2_main::database:25] INFO Checking the current SQLite migration +25 09:40:57, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +25 09:40:57, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +25 09:40:57, mm2_main::database:43] INFO Trying to initialize the SQLite database +25 09:40:57, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +25 09:40:57, yamux::connection:345] DEBUG new connection: 77b61a30 (Client) +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +25 09:40:57, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.42/tcp/47771", role_override: Dialer }; Total (peer): 1. +25 09:40:57, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +25 09:40:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.42/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.335034ms } +25 09:40:57, yamux::connection:459] DEBUG 77b61a30: new outbound (Stream 77b61a30/1) of (Connection 77b61a30 Client (streams 0)) +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +25 09:40:57, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +25 09:40:57, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +25 09:40:57, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +25 09:40:57, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +25 09:40:57, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +25 09:40:57, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +25 09:40:57, yamux::connection:459] DEBUG 77b61a30: new outbound (Stream 77b61a30/3) of (Connection 77b61a30 Client (streams 3)) +25 09:40:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(542.879µs) })) +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +25 09:40:57, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +25 09:40:57, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +25 09:40:57, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-25 12:40:57 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.128:7783 DEX stats API enabled at unixtime.1727257257 <<<<<<<<< +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +25 09:40:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +25 09:40:59, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +25 09:40:59, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +25 09:41:02, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +25 09:41:02, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +25 09:41:02, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +25 09:41:02, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:02, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +25 09:41:02, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +25 09:41:02, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +25 09:41:02, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +25 09:41:02, yamux::connection:459] DEBUG 77b61a30: new outbound (Stream 77b61a30/5) of (Connection 77b61a30 Client (streams 4)) +25 09:41:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +25 09:41:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +25 09:41:02, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +25 09:41:02, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +25 09:41:02, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: d5ad80c9-b091-4dd2-b8f7-3b1b06607030, created_at: 1727257257, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +25 09:41:02, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(57aa76396b26afdf) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +25 09:41:02, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(57aa76396b26afdf) in duplicate_cache and resolve promises +25 09:41:02, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +25 09:41:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(57aa76396b26afdf), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6166316538505413248), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +25 09:41:02, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(d5ad80c9-b091-4dd2-b8f7-3b1b06607030), timestamp: 1727257262, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +25 09:41:02, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +25 09:41:02, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:02, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:02, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:02, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:02, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:03, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:03, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(a740110d5253aed5) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +25 09:41:03, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(a740110d5253aed5) in duplicate_cache and resolve promises +25 09:41:03, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +25 09:41:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(a740110d5253aed5), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(4044460384270648026), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +25 09:41:03, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(d5ad80c9-b091-4dd2-b8f7-3b1b06607030), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727257257, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727257257, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +25 09:41:03, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: d5ad80c9-b091-4dd2-b8f7-3b1b06607030, created_at: 1727257257, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +25 09:41:04, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:04, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:04, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:04, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:05, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:05, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:05, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:05, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:06, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:06, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:06, libp2p_gossipsub::mcache:194] DEBUG The message with id 57aa76396b26afdf got removed from the cache without being validated. +25 09:41:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:07, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:07, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:07, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 1 needs: 2 +25 09:41:07, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +25 09:41:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:08, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:08, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:08, libp2p_gossipsub::mcache:194] DEBUG The message with id a740110d5253aed5 got removed from the cache without being validated. +25 09:41:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:09, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:09, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:10, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:10, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:11, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:11, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:12, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:12, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:12, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +25 09:41:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(687.66µs) })) +25 09:41:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:13, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:13, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:14, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:14, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:14, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:14, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:15, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:15, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:16, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:16, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:17, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:17, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:17, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 1 needs: 2 +25 09:41:17, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +25 09:41:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:18, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:18, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:19, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:19, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:20, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:20, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:21, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +25 09:41:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:21, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +25 09:41:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/mm2.log" vvv +running 1 test +25 09:40:56, mod:26] test_mm_start] Starting the MarketMaker... +25 09:40:56, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +25 09:40:56, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +25 09:40:56, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +25 09:40:56, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +25 09:40:56, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +25 09:40:56, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +25 09:40:56, libp2p_tcp:450] DEBUG listening on 127.0.0.42:47771 +25 09:40:56, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.42/tcp/47771" +25 09:40:56, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.42/tcp/47771" } +25 09:40:56, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.42/tcp/47771 +25 09:40:56, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +25 09:40:56, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +25 09:40:56, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-25_12-40-56-201_127.0.0.42/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +25 09:40:56, mm2_main::database:25] INFO Checking the current SQLite migration +25 09:40:56, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +25 09:40:56, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +25 09:40:56, mm2_main::database:43] INFO Trying to initialize the SQLite database +25 09:40:56, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +25 09:40:56, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +25 09:40:56, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +25 09:40:56, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-25 12:40:56 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.42:7783 DEX stats API enabled at unixtime.1727257256 <<<<<<<<< +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +25 09:40:56, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +25 09:40:57, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +25 09:40:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +25 09:40:57, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +25 09:40:57, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +25 09:40:57, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +25 09:40:57, mm2_main::database::my_orders:45] DEBUG Inserting new order d5ad80c9-b091-4dd2-b8f7-3b1b06607030 to the SQLite database +25 09:40:57, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: d5ad80c9-b091-4dd2-b8f7-3b1b06607030, created_at: 1727257257, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +25 09:40:57, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(a740110d5253aed5) +25 09:40:57, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +25 09:40:57, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +25 09:40:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:40:57, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(a740110d5253aed5) +25 09:40:57, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/47506 at /ip4/127.0.0.42/tcp/47771 +25 09:40:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.42/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47506" } +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +25 09:40:57, yamux::connection:345] DEBUG new connection: e595a7fa (Server) +25 09:40:57, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") Listener { local_addr: "/ip4/127.0.0.42/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47506" }; Total (peer): 1. +25 09:40:57, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 +25 09:40:57, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") +25 09:40:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.42/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47506" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.825755ms } +25 09:40:57, yamux::connection:459] DEBUG e595a7fa: new outbound (Stream e595a7fa/2) of (Connection e595a7fa Server (streams 0)) +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +25 09:40:57, yamux::connection:459] DEBUG e595a7fa: new outbound (Stream e595a7fa/4) of (Connection e595a7fa Server (streams 2)) +25 09:40:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +25 09:40:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +25 09:40:57, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 +25 09:40:57, libp2p_ping::handler:298] DEBUG latency to 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 is 0ms +25 09:40:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), connection: ConnectionId(1), result: Ok(431.033µs) })) +25 09:40:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +25 09:40:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +25 09:40:57, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), is_included: true +25 09:40:57, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") to included_to_relays_mesh +25 09:41:01, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:01, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:01, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:01, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:01, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +25 09:41:01, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:02, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 +25 09:41:02, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +25 09:41:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +25 09:41:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +25 09:41:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +25 09:41:02, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") peer +25 09:41:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +25 09:41:02, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +25 09:41:02, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(d5ad80c9-b091-4dd2-b8f7-3b1b06607030), timestamp: 1727257262, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +25 09:41:02, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(57aa76396b26afdf) +25 09:41:02, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(57aa76396b26afdf) to peer PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") +25 09:41:02, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +25 09:41:02, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +25 09:41:02, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(57aa76396b26afdf) +25 09:41:02, mm2_main::database::my_orders:117] DEBUG Updating order d5ad80c9-b091-4dd2-b8f7-3b1b06607030 in the SQLite database +25 09:41:02, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:02, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:02, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:02, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +25 09:41:02, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +25 09:41:02, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +25 09:41:03, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +25 09:41:03, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:03, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") +25 09:41:03, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3") +25 09:41:03, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 +25 09:41:04, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:04, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +25 09:41:04, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +25 09:41:04, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:05, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:05, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:05, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:06, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:06, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +25 09:41:06, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +25 09:41:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:09, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:10, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:11, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:12, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:12, libp2p_ping::handler:298] DEBUG latency to 12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3 is 0ms +25 09:41:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWQCjgMCqmUkhFPCTwEekLg3EbypXR9VY4LN52CVbZJrF3"), connection: ConnectionId(1), result: Ok(894.873µs) })) +25 09:41:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:13, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:14, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:14, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:14, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:15, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:16, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:16, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +25 09:41:16, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +25 09:41:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +25 09:41:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +25 09:41:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +25 09:41:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +25 09:41:22, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +25 09:41:22, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_all_orders ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_all_orders + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 26.01s + diff --git a/cancel_order.log b/cancel_order.log new file mode 100644 index 0000000000..d5332885a3 --- /dev/null +++ b/cancel_order.log @@ -0,0 +1,19898 @@ + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:42:19, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/mm2.log +26 12:42:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.30:7783 +26 12:42:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.30:7783 +26 12:42:19, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:42:20, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:42:20, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.30:7783 +26 12:42:20, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354540854), "updated_at": Number(1727354540854), "matches": Object({}), "started_swaps": Array([]), "uuid": String("4cdbb60d-a075-4854-9677-628972a49b06"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:42:22, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/mm2.log +26 12:42:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.228:7783 +26 12:42:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.228:7783 +26 12:42:22, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:42:24, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:42:24, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.228:7783 +26 12:42:24, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 4cdbb60d-a075-4854-9677-628972a49b06, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354544, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:42:24, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"4cdbb60d-a075-4854-9677-628972a49b06"} to http://127.0.0.30:7783 +26 12:42:24, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:42:27, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:42:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.30:7783 +26 12:42:27, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354547, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:42:27, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:42:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.228:7783 +26 12:42:27, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354547, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/mm2.log" vvv +running 1 test +26 12:42:20, mod:26] test_mm_start] Starting the MarketMaker... +26 12:42:20, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:42:20, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:42:20, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:42:20, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") +26 12:42:20, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:42:20, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.30/tcp/47771 +26 12:42:20, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.30/tcp/47771 +26 12:42:20, libp2p_tcp:476] DEBUG dialing 127.0.0.30:47771 +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:42:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:42:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:42:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-20-860_127.0.0.228/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:42:20, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:42:20, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:42:20, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:42:20, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:42:20, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:42:20, yamux::connection:345] DEBUG new connection: 6a2e2804 (Client) +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:42:20, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.30/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:42:20, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:42:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.30/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.710228ms } +26 12:42:20, yamux::connection:459] DEBUG 6a2e2804: new outbound (Stream 6a2e2804/1) of (Connection 6a2e2804 Client (streams 0)) +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:42:20, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:42:20, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:42:20, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:42:20, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:42:20, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:42:20, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:42:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(441.174µs) })) +26 12:42:20, yamux::connection:459] DEBUG 6a2e2804: new outbound (Stream 6a2e2804/3) of (Connection 6a2e2804 Client (streams 3)) +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:42:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:42:20, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:42:20, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:42:20 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.228:7783 DEX stats API enabled at unixtime.1727354540 <<<<<<<<< +26 12:42:22, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:42:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:42:24, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:42:24, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:42:24, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:42:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:24, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:42:24, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:42:24, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:42:24, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:42:24, yamux::connection:459] DEBUG 6a2e2804: new outbound (Stream 6a2e2804/5) of (Connection 6a2e2804 Client (streams 4)) +26 12:42:24, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:42:24, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:42:24, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:42:24, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:42:24, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4cdbb60d-a075-4854-9677-628972a49b06, created_at: 1727354540, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:42:24, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(30747b0554fe5b42) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:42:24, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(30747b0554fe5b42) in duplicate_cache and resolve promises +26 12:42:24, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:42:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(30747b0554fe5b42), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(2109106752993654104), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:42:24, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4cdbb60d-a075-4854-9677-628972a49b06), timestamp: 1727354544, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:42:24, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:42:25, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:25, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:42:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:25, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:42:25, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:26, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:26, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:42:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:26, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:42:26, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/mm2.log" vvv +running 1 test +26 12:42:17, mod:26] test_mm_start] Starting the MarketMaker... +26 12:42:17, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:42:17, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:42:17, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:42:17, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:42:17, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:42:17, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:42:17, libp2p_tcp:450] DEBUG listening on 127.0.0.30:47771 +26 12:42:17, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.30/tcp/47771" +26 12:42:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.30/tcp/47771" } +26 12:42:17, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.30/tcp/47771 +26 12:42:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:42:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:42:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-42-17-209_127.0.0.30/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:42:17, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:42:17, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:42:17, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:42:17, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:42:17, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:42:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:42:17, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:42:17, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:42:17 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.30:7783 DEX stats API enabled at unixtime.1727354537 <<<<<<<<< +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:42:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:42:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:42:20, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:42:20, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:42:20, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:42:20, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:42:20, mm2_main::database::my_orders:45] DEBUG Inserting new order 4cdbb60d-a075-4854-9677-628972a49b06 to the SQLite database +26 12:42:20, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4cdbb60d-a075-4854-9677-628972a49b06, created_at: 1727354540, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:42:20, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(414ec4105b134b2c) +26 12:42:20, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:42:20, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:42:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:20, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(414ec4105b134b2c) +26 12:42:20, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/60874 at /ip4/127.0.0.30/tcp/47771 +26 12:42:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.30/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60874" } +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:42:20, yamux::connection:345] DEBUG new connection: fe3a06f2 (Server) +26 12:42:20, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") Listener { local_addr: "/ip4/127.0.0.30/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60874" }; Total (peer): 1. +26 12:42:20, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk +26 12:42:20, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") +26 12:42:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.30/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60874" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.148958ms } +26 12:42:20, yamux::connection:459] DEBUG fe3a06f2: new outbound (Stream fe3a06f2/2) of (Connection fe3a06f2 Server (streams 0)) +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:42:20, yamux::connection:459] DEBUG fe3a06f2: new outbound (Stream fe3a06f2/4) of (Connection fe3a06f2 Server (streams 2)) +26 12:42:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:42:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:42:20, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk +26 12:42:20, libp2p_ping::handler:298] DEBUG latency to 12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk is 0ms +26 12:42:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk"), connection: ConnectionId(1), result: Ok(553.521µs) })) +26 12:42:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:42:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:42:20, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk"), is_included: true +26 12:42:20, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") to included_to_relays_mesh +26 12:42:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:42:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:23, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:23, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:42:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:24, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:24, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:24, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:42:24, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:24, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:42:24, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:42:24, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk +26 12:42:24, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:42:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:42:24, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") peer +26 12:42:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:42:24, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:42:24, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4cdbb60d-a075-4854-9677-628972a49b06), timestamp: 1727354544, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:42:24, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(30747b0554fe5b42) +26 12:42:24, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(30747b0554fe5b42) to peer PeerId("12D3KooWM6UHZPrPDWbzhtuPRGjE17wAbmDoQiknrTuGcgty3MSk") +26 12:42:24, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:42:24, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:42:24, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(30747b0554fe5b42) +26 12:42:24, mm2_main::database::my_orders:117] DEBUG Updating order 4cdbb60d-a075-4854-9677-628972a49b06 in the SQLite database +26 12:42:25, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:25, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:42:25, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:42:25, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:26, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:26, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:42:26, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:42:26, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:27, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:42:27, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:42:27, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:42:27, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:42:27, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:42:27, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:42:27, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:42:27, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:42:27, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:42:27, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.24s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:43:10, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/mm2.log +26 12:43:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.29:7783 +26 12:43:11, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.29:7783 +26 12:43:10, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:11, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:43:11, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.29:7783 +26 12:43:12, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354592520), "updated_at": Number(1727354592520), "matches": Object({}), "started_swaps": Array([]), "uuid": String("5ec7537c-ec2b-4707-96de-86d992030ee0"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:43:14, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/mm2.log +26 12:43:14, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.114:7783 +26 12:43:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.114:7783 +26 12:43:14, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:16, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:43:16, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.114:7783 +26 12:43:16, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 5ec7537c-ec2b-4707-96de-86d992030ee0, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354596, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:16, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"5ec7537c-ec2b-4707-96de-86d992030ee0"} to http://127.0.0.29:7783 +26 12:43:16, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:43:19, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:43:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.29:7783 +26 12:43:19, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354599, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:19, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:43:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.114:7783 +26 12:43:19, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354599, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/mm2.log" vvv +running 1 test +26 12:43:12, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:12, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:12, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:43:12, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:43:12, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") +26 12:43:12, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:12, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.29/tcp/47771 +26 12:43:12, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.29/tcp/47771 +26 12:43:12, libp2p_tcp:476] DEBUG dialing 127.0.0.29:47771 +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:43:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:43:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:43:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-12-526_127.0.0.114/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:43:12, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:12, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:12, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:12, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:12, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:43:12, yamux::connection:345] DEBUG new connection: c740888a (Client) +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:12, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.29/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:12, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.29/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.030497ms } +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:12, yamux::connection:459] DEBUG c740888a: new outbound (Stream c740888a/1) of (Connection c740888a Client (streams 0)) +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:12, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:12, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:12, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:43:12, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:43:12, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:43:12, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:12, yamux::connection:459] DEBUG c740888a: new outbound (Stream c740888a/3) of (Connection c740888a Client (streams 3)) +26 12:43:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(504.603µs) })) +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:12, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:12, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:12 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.114:7783 DEX stats API enabled at unixtime.1727354592 <<<<<<<<< +26 12:43:14, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:16, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:16, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:16, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:16, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:43:16, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:16, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:43:16, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:43:16, yamux::connection:459] DEBUG c740888a: new outbound (Stream c740888a/5) of (Connection c740888a Client (streams 4)) +26 12:43:16, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:43:16, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:43:16, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:16, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:43:16, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5ec7537c-ec2b-4707-96de-86d992030ee0, created_at: 1727354592, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:16, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(6e75a7a3beb7716c) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:16, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(6e75a7a3beb7716c) in duplicate_cache and resolve promises +26 12:43:16, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:43:16, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(6e75a7a3beb7716c), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(8256427819471196068), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:43:16, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5ec7537c-ec2b-4707-96de-86d992030ee0), timestamp: 1727354596, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:17, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:17, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:18, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:18, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/mm2.log" vvv +running 1 test +26 12:43:08, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:08, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:08, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:43:08, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:43:08, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:43:08, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:08, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:08, libp2p_tcp:450] DEBUG listening on 127.0.0.29:47771 +26 12:43:08, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.29/tcp/47771" +26 12:43:08, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.29/tcp/47771" } +26 12:43:08, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.29/tcp/47771 +26 12:43:08, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:43:08, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:43:08, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-08-468_127.0.0.29/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:43:08, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:08, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:08, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:08, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:08, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:08, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:08, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:08, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:08 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.29:7783 DEX stats API enabled at unixtime.1727354588 <<<<<<<<< +26 12:43:10, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:11, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:12, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:43:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:12, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:43:12, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:12, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:43:12, mm2_main::database::my_orders:45] DEBUG Inserting new order 5ec7537c-ec2b-4707-96de-86d992030ee0 to the SQLite database +26 12:43:12, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5ec7537c-ec2b-4707-96de-86d992030ee0, created_at: 1727354592, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:12, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(de716f8c798ff61b) +26 12:43:12, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:12, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:12, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(de716f8c798ff61b) +26 12:43:12, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/33728 at /ip4/127.0.0.29/tcp/47771 +26 12:43:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33728" } +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:43:12, yamux::connection:345] DEBUG new connection: 827bef05 (Server) +26 12:43:12, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") Listener { local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33728" }; Total (peer): 1. +26 12:43:12, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48 +26 12:43:12, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") +26 12:43:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33728" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.499032ms } +26 12:43:12, yamux::connection:459] DEBUG 827bef05: new outbound (Stream 827bef05/2) of (Connection 827bef05 Server (streams 0)) +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:12, yamux::connection:459] DEBUG 827bef05: new outbound (Stream 827bef05/4) of (Connection 827bef05 Server (streams 1)) +26 12:43:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:12, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48 +26 12:43:12, libp2p_ping::handler:298] DEBUG latency to 12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48 is 0ms +26 12:43:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48"), connection: ConnectionId(1), result: Ok(408.768µs) })) +26 12:43:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:12, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48"), is_included: true +26 12:43:12, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") to included_to_relays_mesh +26 12:43:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:13, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:13, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:14, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:14, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:14, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:14, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:15, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:15, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:16, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:43:16, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:43:16, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48 +26 12:43:16, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:16, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:43:16, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") peer +26 12:43:16, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:43:16, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:43:16, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5ec7537c-ec2b-4707-96de-86d992030ee0), timestamp: 1727354596, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:16, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(6e75a7a3beb7716c) +26 12:43:16, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(6e75a7a3beb7716c) to peer PeerId("12D3KooWPSzPAvmdChQSGFRKit7Z8deGHso1bTefJp2Kh7EwLS48") +26 12:43:16, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:16, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:16, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(6e75a7a3beb7716c) +26 12:43:16, mm2_main::database::my_orders:117] DEBUG Updating order 5ec7537c-ec2b-4707-96de-86d992030ee0 in the SQLite database +26 12:43:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:16, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:16, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:17, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:18, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:43:18, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:43:19, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:43:19, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.79s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:43:23, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/mm2.log +26 12:43:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.199:7783 +26 12:43:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.199:7783 +26 12:43:23, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:24, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:43:24, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.199:7783 +26 12:43:25, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354605412), "updated_at": Number(1727354605412), "matches": Object({}), "started_swaps": Array([]), "uuid": String("b6a4787c-e874-480c-94d2-b3a8455623d1"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:43:27, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/mm2.log +26 12:43:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:43:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:43:27, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:28, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:43:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:43:28, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: b6a4787c-e874-480c-94d2-b3a8455623d1, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354608, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"b6a4787c-e874-480c-94d2-b3a8455623d1"} to http://127.0.0.199:7783 +26 12:43:28, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:43:31, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:43:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.199:7783 +26 12:43:31, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354611, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:31, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:43:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:43:31, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354611, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/mm2.log" vvv +running 1 test +26 12:43:25, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:25, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:25, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:43:25, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:43:25, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") +26 12:43:25, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:25, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.199/tcp/47771 +26 12:43:25, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.199/tcp/47771 +26 12:43:25, libp2p_tcp:476] DEBUG dialing 127.0.0.199:47771 +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:43:25, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:43:25, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:43:25, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-25-417_127.0.0.183/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:43:25, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:25, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:25, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:25, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:25, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:43:25, yamux::connection:345] DEBUG new connection: 17917165 (Client) +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:25, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.199/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:25, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:25, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.199/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.006718ms } +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:25, yamux::connection:459] DEBUG 17917165: new outbound (Stream 17917165/1) of (Connection 17917165 Client (streams 0)) +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:25, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:25, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:25, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:43:25, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:25, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:25, yamux::connection:459] DEBUG 17917165: new outbound (Stream 17917165/3) of (Connection 17917165 Client (streams 3)) +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:25, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:25, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(573.161µs) })) +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:25, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:25, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:25, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:25 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.183:7783 DEX stats API enabled at unixtime.1727354605 <<<<<<<<< +26 12:43:27, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:43:28, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:43:28, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:28, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:28, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:28, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:43:28, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:28, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:43:28, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:43:28, yamux::connection:459] DEBUG 17917165: new outbound (Stream 17917165/5) of (Connection 17917165 Client (streams 4)) +26 12:43:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:43:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:43:28, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:28, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:43:28, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: b6a4787c-e874-480c-94d2-b3a8455623d1, created_at: 1727354605, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:28, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(d400f979266e15c4) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:28, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(d400f979266e15c4) in duplicate_cache and resolve promises +26 12:43:28, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:43:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(d400f979266e15c4), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(13474564397008015988), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:43:28, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(b6a4787c-e874-480c-94d2-b3a8455623d1), timestamp: 1727354608, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:30, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:30, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:31, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:31, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/mm2.log" vvv +running 1 test +26 12:43:21, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:21, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:21, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:43:21, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:43:21, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:43:21, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:21, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:21, libp2p_tcp:450] DEBUG listening on 127.0.0.199:47771 +26 12:43:21, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.199/tcp/47771" +26 12:43:21, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.199/tcp/47771" } +26 12:43:21, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.199/tcp/47771 +26 12:43:21, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:43:21, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:43:21, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-21-253_127.0.0.199/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:43:21, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:21, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:21, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:21, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:21, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:21, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:21, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:21, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:21 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.199:7783 DEX stats API enabled at unixtime.1727354601 <<<<<<<<< +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:23, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:24, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:24, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:24, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:24, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:25, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:43:25, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:25, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:25, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:43:25, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:25, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:43:25, mm2_main::database::my_orders:45] DEBUG Inserting new order b6a4787c-e874-480c-94d2-b3a8455623d1 to the SQLite database +26 12:43:25, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: b6a4787c-e874-480c-94d2-b3a8455623d1, created_at: 1727354605, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:25, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(3f30e692d7620966) +26 12:43:25, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:25, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:25, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(3f30e692d7620966) +26 12:43:25, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/50444 at /ip4/127.0.0.199/tcp/47771 +26 12:43:25, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50444" } +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:43:25, yamux::connection:345] DEBUG new connection: d7aa44e0 (Server) +26 12:43:25, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") Listener { local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50444" }; Total (peer): 1. +26 12:43:25, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5 +26 12:43:25, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") +26 12:43:25, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50444" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.38609ms } +26 12:43:25, yamux::connection:459] DEBUG d7aa44e0: new outbound (Stream d7aa44e0/2) of (Connection d7aa44e0 Server (streams 0)) +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:25, yamux::connection:459] DEBUG d7aa44e0: new outbound (Stream d7aa44e0/4) of (Connection d7aa44e0 Server (streams 2)) +26 12:43:25, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:25, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:25, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5 +26 12:43:25, libp2p_ping::handler:298] DEBUG latency to 12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5 is 0ms +26 12:43:25, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5"), connection: ConnectionId(1), result: Ok(502.559µs) })) +26 12:43:25, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:25, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:25, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5"), is_included: true +26 12:43:25, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") to included_to_relays_mesh +26 12:43:26, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:26, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:26, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:26, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:27, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:27, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:27, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:27, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:27, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:27, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:28, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:28, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:28, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:28, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:43:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:43:28, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5 +26 12:43:28, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:43:28, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") peer +26 12:43:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:43:28, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:43:28, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(b6a4787c-e874-480c-94d2-b3a8455623d1), timestamp: 1727354608, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:28, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(d400f979266e15c4) +26 12:43:28, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(d400f979266e15c4) to peer PeerId("12D3KooWSVdDugHmQSNV3c9GUWWjSpDs7vkALNdmqStns7x7ybf5") +26 12:43:28, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:28, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:28, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(d400f979266e15c4) +26 12:43:28, mm2_main::database::my_orders:117] DEBUG Updating order b6a4787c-e874-480c-94d2-b3a8455623d1 in the SQLite database +26 12:43:29, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:29, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:29, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:29, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:30, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:30, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:31, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:43:31, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:43:31, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:43:31, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.71s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:43:36, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/mm2.log +26 12:43:36, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.101:7783 +26 12:43:36, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.101:7783 +26 12:43:36, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:37, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:43:37, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.101:7783 +26 12:43:37, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354617890), "updated_at": Number(1727354617890), "matches": Object({}), "started_swaps": Array([]), "uuid": String("0f3c23f0-0733-4655-842c-648317a9db22"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:43:39, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/mm2.log +26 12:43:39, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.139:7783 +26 12:43:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.139:7783 +26 12:43:39, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:41, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:43:41, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.139:7783 +26 12:43:41, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 0f3c23f0-0733-4655-842c-648317a9db22, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354621, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:41, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"0f3c23f0-0733-4655-842c-648317a9db22"} to http://127.0.0.101:7783 +26 12:43:41, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:43:44, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:43:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.101:7783 +26 12:43:44, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354624, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:44, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:43:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.139:7783 +26 12:43:44, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354624, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/mm2.log" vvv +running 1 test +26 12:43:37, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:37, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:37, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:43:37, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:43:37, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") +26 12:43:37, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:37, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.101/tcp/47771 +26 12:43:37, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.101/tcp/47771 +26 12:43:37, libp2p_tcp:476] DEBUG dialing 127.0.0.101:47771 +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:43:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:43:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:43:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-37-895_127.0.0.139/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:43:37, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:37, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:37, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:37, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:37, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:43:37, yamux::connection:345] DEBUG new connection: 66404a37 (Client) +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:37, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.101/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:37, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.101/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.835088ms } +26 12:43:37, yamux::connection:459] DEBUG 66404a37: new outbound (Stream 66404a37/1) of (Connection 66404a37 Client (streams 0)) +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:37, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:37, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:37, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:43:37, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:43:37, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:37, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:43:37, yamux::connection:459] DEBUG 66404a37: new outbound (Stream 66404a37/3) of (Connection 66404a37 Client (streams 3)) +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(417.143µs) })) +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:37, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:37, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:37 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.139:7783 DEX stats API enabled at unixtime.1727354617 <<<<<<<<< +26 12:43:39, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:41, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:41, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:41, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:41, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:43:41, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:41, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:43:41, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:43:41, yamux::connection:459] DEBUG 66404a37: new outbound (Stream 66404a37/5) of (Connection 66404a37 Client (streams 4)) +26 12:43:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:43:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:43:41, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:41, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:43:41, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 0f3c23f0-0733-4655-842c-648317a9db22, created_at: 1727354617, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:41, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(5b1cddad2b191241) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:41, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(5b1cddad2b191241) in duplicate_cache and resolve promises +26 12:43:41, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:43:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(5b1cddad2b191241), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(15507871699990047496), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:43:41, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(0f3c23f0-0733-4655-842c-648317a9db22), timestamp: 1727354621, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:42, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:42, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:42, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:42, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:43, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:43, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:43, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:43, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/mm2.log" vvv +running 1 test +26 12:43:33, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:33, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:33, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:43:33, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:43:33, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:43:33, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:33, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:33, libp2p_tcp:450] DEBUG listening on 127.0.0.101:47771 +26 12:43:33, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.101/tcp/47771" +26 12:43:33, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.101/tcp/47771" } +26 12:43:33, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.101/tcp/47771 +26 12:43:33, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:43:33, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:43:33, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-33-954_127.0.0.101/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:43:33, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:33, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:33, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:33, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:33, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:33, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:33, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:33, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:33 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.101:7783 DEX stats API enabled at unixtime.1727354613 <<<<<<<<< +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:43:36, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:37, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:37, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:43:37, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:43:37, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:37, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:43:37, mm2_main::database::my_orders:45] DEBUG Inserting new order 0f3c23f0-0733-4655-842c-648317a9db22 to the SQLite database +26 12:43:37, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 0f3c23f0-0733-4655-842c-648317a9db22, created_at: 1727354617, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:37, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(853973282acf5bf1) +26 12:43:37, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:37, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:37, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:37, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(853973282acf5bf1) +26 12:43:37, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/46650 at /ip4/127.0.0.101/tcp/47771 +26 12:43:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/46650" } +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:43:37, yamux::connection:345] DEBUG new connection: 9e55745e (Server) +26 12:43:37, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") Listener { local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/46650" }; Total (peer): 1. +26 12:43:37, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj +26 12:43:37, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") +26 12:43:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/46650" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.325606ms } +26 12:43:37, yamux::connection:459] DEBUG 9e55745e: new outbound (Stream 9e55745e/2) of (Connection 9e55745e Server (streams 0)) +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:37, yamux::connection:459] DEBUG 9e55745e: new outbound (Stream 9e55745e/4) of (Connection 9e55745e Server (streams 2)) +26 12:43:37, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:37, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:37, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj +26 12:43:37, libp2p_ping::handler:298] DEBUG latency to 12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj is 0ms +26 12:43:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj"), connection: ConnectionId(1), result: Ok(545.857µs) })) +26 12:43:37, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:37, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:37, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj"), is_included: true +26 12:43:37, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") to included_to_relays_mesh +26 12:43:38, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:38, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:38, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:38, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:38, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:38, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:39, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:39, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:39, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:39, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:39, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:39, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:40, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:40, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:40, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:40, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:40, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:40, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:41, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj +26 12:43:41, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:43:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:43:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:43:41, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") peer +26 12:43:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:43:41, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:43:41, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(0f3c23f0-0733-4655-842c-648317a9db22), timestamp: 1727354621, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:41, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(5b1cddad2b191241) +26 12:43:41, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(5b1cddad2b191241) to peer PeerId("12D3KooWGht1PkKbGbMtN34FpwmQQvKpGFLFEJLszxzpvHyEnvPj") +26 12:43:41, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:41, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:41, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(5b1cddad2b191241) +26 12:43:41, mm2_main::database::my_orders:117] DEBUG Updating order 0f3c23f0-0733-4655-842c-648317a9db22 in the SQLite database +26 12:43:41, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:41, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:41, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:41, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:42, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:42, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:42, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:42, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:43, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:43, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:43, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:43, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:43, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:43:43, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:43:44, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:43:44, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.47s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:43:48, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/mm2.log +26 12:43:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.45:7783 +26 12:43:49, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.45:7783 +26 12:43:48, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:50, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:43:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.45:7783 +26 12:43:50, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354630598), "updated_at": Number(1727354630598), "matches": Object({}), "started_swaps": Array([]), "uuid": String("c78292c5-7d3a-4450-a2ad-f782246249f4"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:43:52, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/mm2.log +26 12:43:52, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.80:7783 +26 12:43:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.80:7783 +26 12:43:52, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:43:53, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:43:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.80:7783 +26 12:43:53, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: c78292c5-7d3a-4450-a2ad-f782246249f4, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354633, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"c78292c5-7d3a-4450-a2ad-f782246249f4"} to http://127.0.0.45:7783 +26 12:43:53, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:43:56, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:43:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.45:7783 +26 12:43:56, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354636, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:43:56, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:43:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.80:7783 +26 12:43:56, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354636, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/mm2.log" vvv +running 1 test +26 12:43:50, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:50, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:50, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:43:50, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:43:50, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") +26 12:43:50, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:50, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.45/tcp/47771 +26 12:43:50, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.45/tcp/47771 +26 12:43:50, libp2p_tcp:476] DEBUG dialing 127.0.0.45:47771 +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:43:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:43:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:43:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-50-603_127.0.0.80/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:43:50, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:50, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:50, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:50, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:50, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:43:50, yamux::connection:345] DEBUG new connection: ff87ecd4 (Client) +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:50, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.45/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:43:50, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.45/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.418039ms } +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:50, yamux::connection:459] DEBUG ff87ecd4: new outbound (Stream ff87ecd4/1) of (Connection ff87ecd4 Client (streams 0)) +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:50, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:50, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:50, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:43:50, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:43:50, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:43:50, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(339.333µs) })) +26 12:43:50, yamux::connection:459] DEBUG ff87ecd4: new outbound (Stream ff87ecd4/3) of (Connection ff87ecd4 Client (streams 3)) +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:50, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:50, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:50 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.80:7783 DEX stats API enabled at unixtime.1727354630 <<<<<<<<< +26 12:43:52, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:53, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:53, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:53, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:53, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:43:53, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:53, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:43:53, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:43:53, yamux::connection:459] DEBUG ff87ecd4: new outbound (Stream ff87ecd4/5) of (Connection ff87ecd4 Client (streams 4)) +26 12:43:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:43:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:43:53, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:53, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:43:53, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c78292c5-7d3a-4450-a2ad-f782246249f4, created_at: 1727354630, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:53, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(26d8dd8a3cccd795) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:43:53, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(26d8dd8a3cccd795) in duplicate_cache and resolve promises +26 12:43:53, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:43:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(26d8dd8a3cccd795), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(9778840155752814363), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:43:53, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c78292c5-7d3a-4450-a2ad-f782246249f4), timestamp: 1727354633, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:55, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:55, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:55, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:55, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:56, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:43:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:56, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:43:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/mm2.log" vvv +running 1 test +26 12:43:46, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:46, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:46, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:43:46, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:43:46, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:43:46, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:46, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:46, libp2p_tcp:450] DEBUG listening on 127.0.0.45:47771 +26 12:43:46, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.45/tcp/47771" +26 12:43:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.45/tcp/47771" } +26 12:43:46, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.45/tcp/47771 +26 12:43:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:43:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:43:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-46-789_127.0.0.45/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:43:46, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:46, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:46, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:46, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:46, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:46, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:46, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:46 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.45:7783 DEX stats API enabled at unixtime.1727354626 <<<<<<<<< +26 12:43:48, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:43:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:43:49, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:43:50, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:43:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:43:50, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:43:50, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:43:50, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:43:50, mm2_main::database::my_orders:45] DEBUG Inserting new order c78292c5-7d3a-4450-a2ad-f782246249f4 to the SQLite database +26 12:43:50, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c78292c5-7d3a-4450-a2ad-f782246249f4, created_at: 1727354630, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:43:50, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(46107396469ab495) +26 12:43:50, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:50, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:50, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(46107396469ab495) +26 12:43:50, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/60794 at /ip4/127.0.0.45/tcp/47771 +26 12:43:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.45/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60794" } +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:43:50, yamux::connection:345] DEBUG new connection: c156b70c (Server) +26 12:43:50, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") Listener { local_addr: "/ip4/127.0.0.45/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60794" }; Total (peer): 1. +26 12:43:50, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ +26 12:43:50, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") +26 12:43:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.45/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60794" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.945111ms } +26 12:43:50, yamux::connection:459] DEBUG c156b70c: new outbound (Stream c156b70c/2) of (Connection c156b70c Server (streams 0)) +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:43:50, yamux::connection:459] DEBUG c156b70c: new outbound (Stream c156b70c/4) of (Connection c156b70c Server (streams 2)) +26 12:43:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:43:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:43:50, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ +26 12:43:50, libp2p_ping::handler:298] DEBUG latency to 12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ is 0ms +26 12:43:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ"), connection: ConnectionId(1), result: Ok(509.416µs) })) +26 12:43:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:43:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:43:50, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ"), is_included: true +26 12:43:50, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") to included_to_relays_mesh +26 12:43:51, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:51, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:51, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:51, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:52, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:52, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:52, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:52, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:53, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:53, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:53, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:43:53, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:43:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:43:53, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ +26 12:43:53, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:43:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:43:53, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") peer +26 12:43:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:43:53, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:43:53, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c78292c5-7d3a-4450-a2ad-f782246249f4), timestamp: 1727354633, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:43:53, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(26d8dd8a3cccd795) +26 12:43:53, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(26d8dd8a3cccd795) to peer PeerId("12D3KooWPDrVc1LiXd66tDCsswmWTUp66iKuVTbwYA65fBqS9nHQ") +26 12:43:53, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:43:53, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:43:53, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(26d8dd8a3cccd795) +26 12:43:53, mm2_main::database::my_orders:117] DEBUG Updating order c78292c5-7d3a-4450-a2ad-f782246249f4 in the SQLite database +26 12:43:54, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:54, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:54, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:54, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:55, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:55, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:55, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:55, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:43:56, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:43:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:43:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:43:56, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:43:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:43:56, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:43:56, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:43:56, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:43:56, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.19s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:44:00, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/mm2.log +26 12:44:00, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.126:7783 +26 12:44:01, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.126:7783 +26 12:44:00, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:02, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:44:02, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.126:7783 +26 12:44:03, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354643093), "updated_at": Number(1727354643093), "matches": Object({}), "started_swaps": Array([]), "uuid": String("517522d5-a83d-4131-b4a1-758d20e68c7a"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:44:05, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/mm2.log +26 12:44:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.72:7783 +26 12:44:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.72:7783 +26 12:44:05, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:06, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:44:06, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.72:7783 +26 12:44:06, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 517522d5-a83d-4131-b4a1-758d20e68c7a, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354646, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:06, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"517522d5-a83d-4131-b4a1-758d20e68c7a"} to http://127.0.0.126:7783 +26 12:44:06, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:44:09, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:44:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.126:7783 +26 12:44:09, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354649, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:09, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:44:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.72:7783 +26 12:44:09, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354649, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/mm2.log" vvv +running 1 test +26 12:44:03, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:03, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:03, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:44:03, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:44:03, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") +26 12:44:03, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:03, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.126/tcp/47771 +26 12:44:03, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.126/tcp/47771 +26 12:44:03, libp2p_tcp:476] DEBUG dialing 127.0.0.126:47771 +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:44:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:44:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:44:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-03-098_127.0.0.72/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:44:03, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:03, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:03, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:03, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:03, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:44:03, yamux::connection:345] DEBUG new connection: 5da69f8c (Client) +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:03, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.126/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:44:03, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.126/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.456854ms } +26 12:44:03, yamux::connection:459] DEBUG 5da69f8c: new outbound (Stream 5da69f8c/1) of (Connection 5da69f8c Client (streams 0)) +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:03, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:03, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:03, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:44:03, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:44:03, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:03, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:44:03, yamux::connection:459] DEBUG 5da69f8c: new outbound (Stream 5da69f8c/3) of (Connection 5da69f8c Client (streams 3)) +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(613.973µs) })) +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:03, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:03, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:03 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.72:7783 DEX stats API enabled at unixtime.1727354643 <<<<<<<<< +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:06, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:06, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:06, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:06, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:44:06, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:06, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:44:06, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:44:06, yamux::connection:459] DEBUG 5da69f8c: new outbound (Stream 5da69f8c/5) of (Connection 5da69f8c Client (streams 4)) +26 12:44:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:44:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:44:06, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:06, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:44:06, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 517522d5-a83d-4131-b4a1-758d20e68c7a, created_at: 1727354643, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:06, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(fe19ed0fce14de8d) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:06, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(fe19ed0fce14de8d) in duplicate_cache and resolve promises +26 12:44:06, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:44:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(fe19ed0fce14de8d), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(2731153800205344624), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:44:06, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(517522d5-a83d-4131-b4a1-758d20e68c7a), timestamp: 1727354646, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:08, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:08, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:09, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:09, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/mm2.log" vvv +running 1 test +26 12:43:58, mod:26] test_mm_start] Starting the MarketMaker... +26 12:43:58, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:43:58, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:43:58, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:43:58, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:43:58, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:43:58, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:43:58, libp2p_tcp:450] DEBUG listening on 127.0.0.126:47771 +26 12:43:58, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.126/tcp/47771" +26 12:43:58, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.126/tcp/47771" } +26 12:43:58, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.126/tcp/47771 +26 12:43:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:43:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:43:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-43-58-907_127.0.0.126/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:43:58, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:43:58, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:43:58, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:43:58, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:43:58, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:43:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:43:58, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:43:58, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:43:58 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.126:7783 DEX stats API enabled at unixtime.1727354638 <<<<<<<<< +26 12:44:00, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:02, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:02, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:44:02, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:02, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:44:03, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:44:03, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:03, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:44:03, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:03, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:03, mm2_main::database::my_orders:45] DEBUG Inserting new order 517522d5-a83d-4131-b4a1-758d20e68c7a to the SQLite database +26 12:44:03, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 517522d5-a83d-4131-b4a1-758d20e68c7a, created_at: 1727354643, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:03, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(9f778fb1a1e0f51b) +26 12:44:03, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:03, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:03, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(9f778fb1a1e0f51b) +26 12:44:03, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/56852 at /ip4/127.0.0.126/tcp/47771 +26 12:44:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.126/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56852" } +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:44:03, yamux::connection:345] DEBUG new connection: 4c4f48a5 (Server) +26 12:44:03, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") Listener { local_addr: "/ip4/127.0.0.126/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56852" }; Total (peer): 1. +26 12:44:03, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4 +26 12:44:03, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") +26 12:44:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.126/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56852" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.956554ms } +26 12:44:03, yamux::connection:459] DEBUG 4c4f48a5: new outbound (Stream 4c4f48a5/2) of (Connection 4c4f48a5 Server (streams 0)) +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:03, yamux::connection:459] DEBUG 4c4f48a5: new outbound (Stream 4c4f48a5/4) of (Connection 4c4f48a5 Server (streams 2)) +26 12:44:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:03, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4 +26 12:44:03, libp2p_ping::handler:298] DEBUG latency to 12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4 is 0ms +26 12:44:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4"), connection: ConnectionId(1), result: Ok(377.863µs) })) +26 12:44:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:03, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4"), is_included: true +26 12:44:03, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") to included_to_relays_mesh +26 12:44:03, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:03, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:03, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:03, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:04, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:04, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:04, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:04, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:05, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:05, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:05, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:05, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:44:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:44:06, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4 +26 12:44:06, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:44:06, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") peer +26 12:44:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:44:06, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:44:06, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(517522d5-a83d-4131-b4a1-758d20e68c7a), timestamp: 1727354646, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:06, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(fe19ed0fce14de8d) +26 12:44:06, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(fe19ed0fce14de8d) to peer PeerId("12D3KooW9yjrcBBCYEbX28xMuArZrGTGsXoh7ydCH5GVTKHBVcn4") +26 12:44:06, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:06, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:06, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(fe19ed0fce14de8d) +26 12:44:06, mm2_main::database::my_orders:117] DEBUG Updating order 517522d5-a83d-4131-b4a1-758d20e68c7a in the SQLite database +26 12:44:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:06, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:06, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:07, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:08, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:44:08, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:44:09, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:44:09, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.30s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.01s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:44:13, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/mm2.log +26 12:44:13, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.180:7783 +26 12:44:14, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.180:7783 +26 12:44:13, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:15, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:44:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.180:7783 +26 12:44:15, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354655850), "updated_at": Number(1727354655850), "matches": Object({}), "started_swaps": Array([]), "uuid": String("1dd26d1a-fe39-45f7-90c3-9f190bf1fe93"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:44:17, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/mm2.log +26 12:44:17, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.74:7783 +26 12:44:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.74:7783 +26 12:44:17, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:19, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:44:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.74:7783 +26 12:44:19, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 1dd26d1a-fe39-45f7-90c3-9f190bf1fe93, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354659, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"1dd26d1a-fe39-45f7-90c3-9f190bf1fe93"} to http://127.0.0.180:7783 +26 12:44:19, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:44:22, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:44:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.180:7783 +26 12:44:22, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354662, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:22, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:44:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.74:7783 +26 12:44:22, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354662, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/mm2.log" vvv +running 1 test +26 12:44:15, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:15, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:15, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:44:15, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:44:15, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") +26 12:44:15, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:15, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.180/tcp/47771 +26 12:44:15, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.180/tcp/47771 +26 12:44:15, libp2p_tcp:476] DEBUG dialing 127.0.0.180:47771 +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:44:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:44:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:44:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-15-853_127.0.0.74/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:44:15, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:15, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:15, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:15, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:15, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:44:15, yamux::connection:345] DEBUG new connection: 5540ec9a (Client) +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:15, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.180/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:44:15, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.180/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.302996ms } +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:15, yamux::connection:459] DEBUG 5540ec9a: new outbound (Stream 5540ec9a/1) of (Connection 5540ec9a Client (streams 0)) +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:15, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:15, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:15, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:44:15, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:44:15, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:44:15, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(374.135µs) })) +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:15, yamux::connection:459] DEBUG 5540ec9a: new outbound (Stream 5540ec9a/3) of (Connection 5540ec9a Client (streams 3)) +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:15, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:15, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:15 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.74:7783 DEX stats API enabled at unixtime.1727354655 <<<<<<<<< +26 12:44:17, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:19, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:19, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:19, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:19, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:44:19, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:19, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:44:19, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:44:19, yamux::connection:459] DEBUG 5540ec9a: new outbound (Stream 5540ec9a/5) of (Connection 5540ec9a Client (streams 4)) +26 12:44:19, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:44:19, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:44:19, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:19, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:44:19, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 1dd26d1a-fe39-45f7-90c3-9f190bf1fe93, created_at: 1727354655, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:19, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(05fbc08e3c4597ab) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:19, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(05fbc08e3c4597ab) in duplicate_cache and resolve promises +26 12:44:19, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:44:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(05fbc08e3c4597ab), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(7631367149507643974), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:44:19, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(1dd26d1a-fe39-45f7-90c3-9f190bf1fe93), timestamp: 1727354659, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:20, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:20, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:21, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:21, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/mm2.log" vvv +running 1 test +26 12:44:11, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:11, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:11, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:44:11, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:44:11, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:44:11, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:11, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:11, libp2p_tcp:450] DEBUG listening on 127.0.0.180:47771 +26 12:44:11, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.180/tcp/47771" +26 12:44:11, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.180/tcp/47771" } +26 12:44:11, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.180/tcp/47771 +26 12:44:11, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:44:11, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:44:11, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-11-177_127.0.0.180/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:44:11, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:11, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:11, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:11, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:11, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:11, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:11, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:11, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:11 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.180:7783 DEX stats API enabled at unixtime.1727354651 <<<<<<<<< +26 12:44:13, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:15, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:15, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:44:15, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:15, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:44:15, mm2_main::database::my_orders:45] DEBUG Inserting new order 1dd26d1a-fe39-45f7-90c3-9f190bf1fe93 to the SQLite database +26 12:44:15, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 1dd26d1a-fe39-45f7-90c3-9f190bf1fe93, created_at: 1727354655, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:15, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(ed4b361985665fdc) +26 12:44:15, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:15, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:15, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(ed4b361985665fdc) +26 12:44:15, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/35926 at /ip4/127.0.0.180/tcp/47771 +26 12:44:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.180/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35926" } +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:44:15, yamux::connection:345] DEBUG new connection: eff68473 (Server) +26 12:44:15, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") Listener { local_addr: "/ip4/127.0.0.180/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35926" }; Total (peer): 1. +26 12:44:15, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ +26 12:44:15, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") +26 12:44:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.180/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35926" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.814912ms } +26 12:44:15, yamux::connection:459] DEBUG eff68473: new outbound (Stream eff68473/2) of (Connection eff68473 Server (streams 0)) +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:15, yamux::connection:459] DEBUG eff68473: new outbound (Stream eff68473/4) of (Connection eff68473 Server (streams 2)) +26 12:44:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:15, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ +26 12:44:15, libp2p_ping::handler:298] DEBUG latency to 12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ is 0ms +26 12:44:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ"), connection: ConnectionId(1), result: Ok(453.592µs) })) +26 12:44:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:15, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ"), is_included: true +26 12:44:15, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") to included_to_relays_mesh +26 12:44:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:16, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:16, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:17, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:19, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:44:19, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:44:19, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ +26 12:44:19, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:44:19, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") peer +26 12:44:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:44:19, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:44:19, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(1dd26d1a-fe39-45f7-90c3-9f190bf1fe93), timestamp: 1727354659, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:19, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(05fbc08e3c4597ab) +26 12:44:19, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(05fbc08e3c4597ab) to peer PeerId("12D3KooWGemfuJozx9NNnhjbJ49R34t3cUwJMVE4mJC6oHR5tqrQ") +26 12:44:19, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:19, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:19, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(05fbc08e3c4597ab) +26 12:44:19, mm2_main::database::my_orders:117] DEBUG Updating order 1dd26d1a-fe39-45f7-90c3-9f190bf1fe93 in the SQLite database +26 12:44:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:21, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:21, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:44:21, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:44:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:22, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:44:22, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 11.11s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:44:26, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/mm2.log +26 12:44:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.104:7783 +26 12:44:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.104:7783 +26 12:44:26, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:27, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:44:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.104:7783 +26 12:44:28, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354668119), "updated_at": Number(1727354668119), "matches": Object({}), "started_swaps": Array([]), "uuid": String("8456572a-e03e-40d2-b2cf-09ef39939f69"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:44:30, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/mm2.log +26 12:44:30, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.241:7783 +26 12:44:30, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.241:7783 +26 12:44:30, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:31, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:44:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.241:7783 +26 12:44:31, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 8456572a-e03e-40d2-b2cf-09ef39939f69, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354671, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"8456572a-e03e-40d2-b2cf-09ef39939f69"} to http://127.0.0.104:7783 +26 12:44:31, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:44:34, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:44:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.104:7783 +26 12:44:34, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354674, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:34, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:44:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.241:7783 +26 12:44:34, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354674, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/mm2.log" vvv +running 1 test +26 12:44:28, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:28, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:28, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:44:28, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:44:28, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") +26 12:44:28, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:28, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.104/tcp/47771 +26 12:44:28, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.104/tcp/47771 +26 12:44:28, libp2p_tcp:476] DEBUG dialing 127.0.0.104:47771 +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:44:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:44:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:44:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-28-124_127.0.0.241/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:44:28, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:28, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:28, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:28, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:28, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:44:28, yamux::connection:345] DEBUG new connection: ef67879f (Client) +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:28, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.104/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:44:28, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.104/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.371871ms } +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:28, yamux::connection:459] DEBUG ef67879f: new outbound (Stream ef67879f/1) of (Connection ef67879f Client (streams 0)) +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:28, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:28, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:28, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:44:28, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:28, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:28, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:28, yamux::connection:459] DEBUG ef67879f: new outbound (Stream ef67879f/3) of (Connection ef67879f Client (streams 3)) +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(465.711µs) })) +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:28, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:28, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:28 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.241:7783 DEX stats API enabled at unixtime.1727354668 <<<<<<<<< +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:30, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:31, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:31, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:31, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:31, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:44:31, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:31, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:44:31, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:44:31, yamux::connection:459] DEBUG ef67879f: new outbound (Stream ef67879f/5) of (Connection ef67879f Client (streams 4)) +26 12:44:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:44:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:44:31, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:31, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:44:31, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 8456572a-e03e-40d2-b2cf-09ef39939f69, created_at: 1727354668, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:31, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(a2c0bf4af055360d) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:31, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(a2c0bf4af055360d) in duplicate_cache and resolve promises +26 12:44:31, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:44:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(a2c0bf4af055360d), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(9093940019712790005), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:44:31, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(8456572a-e03e-40d2-b2cf-09ef39939f69), timestamp: 1727354671, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:33, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:33, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:34, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:34, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/mm2.log" vvv +running 1 test +26 12:44:24, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:24, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:24, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:44:24, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:44:24, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:44:24, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:24, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:24, libp2p_tcp:450] DEBUG listening on 127.0.0.104:47771 +26 12:44:24, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.104/tcp/47771" +26 12:44:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.104/tcp/47771" } +26 12:44:24, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.104/tcp/47771 +26 12:44:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:44:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:44:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-24-248_127.0.0.104/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:44:24, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:24, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:24, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:24, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:24, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:24, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:24, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:24 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.104:7783 DEX stats API enabled at unixtime.1727354664 <<<<<<<<< +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:27, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:44:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:28, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:44:28, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:28, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:44:28, mm2_main::database::my_orders:45] DEBUG Inserting new order 8456572a-e03e-40d2-b2cf-09ef39939f69 to the SQLite database +26 12:44:28, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 8456572a-e03e-40d2-b2cf-09ef39939f69, created_at: 1727354668, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:28, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(853ae7104dfb4a53) +26 12:44:28, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:28, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:28, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(853ae7104dfb4a53) +26 12:44:28, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/50810 at /ip4/127.0.0.104/tcp/47771 +26 12:44:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.104/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50810" } +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:44:28, yamux::connection:345] DEBUG new connection: cfaf007e (Server) +26 12:44:28, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") Listener { local_addr: "/ip4/127.0.0.104/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50810" }; Total (peer): 1. +26 12:44:28, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG +26 12:44:28, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") +26 12:44:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.104/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50810" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.938067ms } +26 12:44:28, yamux::connection:459] DEBUG cfaf007e: new outbound (Stream cfaf007e/2) of (Connection cfaf007e Server (streams 0)) +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:28, yamux::connection:459] DEBUG cfaf007e: new outbound (Stream cfaf007e/4) of (Connection cfaf007e Server (streams 1)) +26 12:44:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:28, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG +26 12:44:28, libp2p_ping::handler:298] DEBUG latency to 12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG is 0ms +26 12:44:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG"), connection: ConnectionId(1), result: Ok(418.878µs) })) +26 12:44:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:28, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG"), is_included: true +26 12:44:28, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") to included_to_relays_mesh +26 12:44:29, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:29, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:29, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:29, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:30, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:30, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:31, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG +26 12:44:31, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:44:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:44:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:44:31, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") peer +26 12:44:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:44:31, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:44:31, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(8456572a-e03e-40d2-b2cf-09ef39939f69), timestamp: 1727354671, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:31, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(a2c0bf4af055360d) +26 12:44:31, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(a2c0bf4af055360d) to peer PeerId("12D3KooWMxfbmu1zxP9SFDUHZFMqumXUR7qeEPhFTHJf4YuRR1GG") +26 12:44:31, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:31, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:31, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(a2c0bf4af055360d) +26 12:44:31, mm2_main::database::my_orders:117] DEBUG Updating order 8456572a-e03e-40d2-b2cf-09ef39939f69 in the SQLite database +26 12:44:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:33, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:33, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:34, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:44:34, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:44:34, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:44:34, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.48s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:44:39, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/mm2.log +26 12:44:39, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.101:7783 +26 12:44:39, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.101:7783 +26 12:44:39, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:40, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:44:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.101:7783 +26 12:44:40, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354680552), "updated_at": Number(1727354680552), "matches": Object({}), "started_swaps": Array([]), "uuid": String("3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:44:42, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/mm2.log +26 12:44:42, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.150:7783 +26 12:44:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.150:7783 +26 12:44:42, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:43, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:44:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.150:7783 +26 12:44:43, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354683, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6"} to http://127.0.0.101:7783 +26 12:44:43, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:44:46, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:44:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.101:7783 +26 12:44:46, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354686, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:46, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:44:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.150:7783 +26 12:44:46, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354686, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/mm2.log" vvv +running 1 test +26 12:44:40, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:40, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:40, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:44:40, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:44:40, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") +26 12:44:40, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:40, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.101/tcp/47771 +26 12:44:40, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.101/tcp/47771 +26 12:44:40, libp2p_tcp:476] DEBUG dialing 127.0.0.101:47771 +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:44:40, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:44:40, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:44:40, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-40-558_127.0.0.150/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:44:40, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:40, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:40, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:40, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:40, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:44:40, yamux::connection:345] DEBUG new connection: 8aa3dc74 (Client) +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:40, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.101/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:44:40, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:40, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.101/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.673166ms } +26 12:44:40, yamux::connection:459] DEBUG 8aa3dc74: new outbound (Stream 8aa3dc74/1) of (Connection 8aa3dc74 Client (streams 0)) +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:40, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:40, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:40, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:40, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:44:40, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:44:40, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:40, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(532.788µs) })) +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:40, yamux::connection:459] DEBUG 8aa3dc74: new outbound (Stream 8aa3dc74/3) of (Connection 8aa3dc74 Client (streams 3)) +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:40, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:40, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:40, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:40 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.150:7783 DEX stats API enabled at unixtime.1727354680 <<<<<<<<< +26 12:44:42, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:42, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:42, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:43, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:43, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:43, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:43, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:44:43, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:43, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:44:43, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:44:43, yamux::connection:459] DEBUG 8aa3dc74: new outbound (Stream 8aa3dc74/5) of (Connection 8aa3dc74 Client (streams 4)) +26 12:44:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:44:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:44:43, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:43, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:44:43, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6, created_at: 1727354680, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:43, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(130484060b6f53d8) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:43, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(130484060b6f53d8) in duplicate_cache and resolve promises +26 12:44:43, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:44:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(130484060b6f53d8), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(10627359310071682223), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:44:43, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6), timestamp: 1727354683, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:44, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:45, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:45, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:45, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:45, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:46, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:46, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/mm2.log" vvv +running 1 test +26 12:44:36, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:36, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:36, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:44:36, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:44:36, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:44:36, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:36, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:36, libp2p_tcp:450] DEBUG listening on 127.0.0.101:47771 +26 12:44:36, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.101/tcp/47771" +26 12:44:36, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.101/tcp/47771" } +26 12:44:36, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.101/tcp/47771 +26 12:44:36, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:44:36, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:44:36, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-36-955_127.0.0.101/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:44:36, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:36, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:36, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:36, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:36, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:36, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:36, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:36, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:36 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.101:7783 DEX stats API enabled at unixtime.1727354676 <<<<<<<<< +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:40, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:40, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:44:40, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:40, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:44:40, mm2_main::database::my_orders:45] DEBUG Inserting new order 3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6 to the SQLite database +26 12:44:40, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6, created_at: 1727354680, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:40, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(ca868bcd612c466e) +26 12:44:40, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:40, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:40, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:40, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(ca868bcd612c466e) +26 12:44:40, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/49054 at /ip4/127.0.0.101/tcp/47771 +26 12:44:40, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49054" } +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:44:40, yamux::connection:345] DEBUG new connection: fd48aedf (Server) +26 12:44:40, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") Listener { local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49054" }; Total (peer): 1. +26 12:44:40, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 +26 12:44:40, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") +26 12:44:40, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.101/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49054" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.146215ms } +26 12:44:40, yamux::connection:459] DEBUG fd48aedf: new outbound (Stream fd48aedf/2) of (Connection fd48aedf Server (streams 0)) +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:40, yamux::connection:459] DEBUG fd48aedf: new outbound (Stream fd48aedf/4) of (Connection fd48aedf Server (streams 2)) +26 12:44:40, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:40, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:40, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 +26 12:44:40, libp2p_ping::handler:298] DEBUG latency to 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 is 0ms +26 12:44:40, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9"), connection: ConnectionId(1), result: Ok(433.233µs) })) +26 12:44:40, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:40, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:40, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9"), is_included: true +26 12:44:40, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") to included_to_relays_mesh +26 12:44:41, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:41, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:41, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:41, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:42, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:42, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:42, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:42, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:43, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 +26 12:44:43, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:44:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:44:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:44:43, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") peer +26 12:44:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:44:43, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:44:43, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6), timestamp: 1727354683, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:43, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(130484060b6f53d8) +26 12:44:43, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(130484060b6f53d8) to peer PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") +26 12:44:43, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:43, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:43, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(130484060b6f53d8) +26 12:44:43, mm2_main::database::my_orders:117] DEBUG Updating order 3f72d4ad-b1f9-44e9-a96f-4f4d2815c0b6 in the SQLite database +26 12:44:43, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:43, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:43, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:43, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:44, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:44, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:44, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:44, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:45, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:45, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:45, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:45, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:45, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9") +26 12:44:45, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWHm7DvFGaBtiaAfUxJB7eYQfTZ1PHK3tRwU7ibxLok5y9 +26 12:44:46, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:44:46, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.92s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:44:50, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/mm2.log +26 12:44:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.236:7783 +26 12:44:51, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.236:7783 +26 12:44:50, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:52, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:44:52, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.236:7783 +26 12:44:52, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354692662), "updated_at": Number(1727354692662), "matches": Object({}), "started_swaps": Array([]), "uuid": String("c521d050-c5d3-4b00-b255-953bac402412"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:44:54, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/mm2.log +26 12:44:54, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:44:55, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:44:54, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:44:56, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:44:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:44:56, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: c521d050-c5d3-4b00-b255-953bac402412, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354696, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"c521d050-c5d3-4b00-b255-953bac402412"} to http://127.0.0.236:7783 +26 12:44:56, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:44:59, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:44:59, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.236:7783 +26 12:44:59, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354699, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:44:59, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:44:59, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:44:59, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354699, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/mm2.log" vvv +running 1 test +26 12:44:52, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:52, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:52, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:44:52, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:44:52, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") +26 12:44:52, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:52, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.236/tcp/47771 +26 12:44:52, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.236/tcp/47771 +26 12:44:52, libp2p_tcp:476] DEBUG dialing 127.0.0.236:47771 +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:44:52, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:44:52, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:44:52, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-52-667_127.0.0.183/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:44:52, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:52, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:52, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:52, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:52, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:44:52, yamux::connection:345] DEBUG new connection: 335dea01 (Client) +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:52, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.236/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:44:52, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:52, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.236/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.91921ms } +26 12:44:52, yamux::connection:459] DEBUG 335dea01: new outbound (Stream 335dea01/1) of (Connection 335dea01 Client (streams 0)) +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:52, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:52, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:44:52, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:52, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:52, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:44:52, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:52, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(284.191µs) })) +26 12:44:52, yamux::connection:459] DEBUG 335dea01: new outbound (Stream 335dea01/3) of (Connection 335dea01 Client (streams 3)) +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:52, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:52, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:52, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:52 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.183:7783 DEX stats API enabled at unixtime.1727354692 <<<<<<<<< +26 12:44:54, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:55, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:56, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:56, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:56, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:56, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:44:56, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:56, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:44:56, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:44:56, yamux::connection:459] DEBUG 335dea01: new outbound (Stream 335dea01/5) of (Connection 335dea01 Client (streams 4)) +26 12:44:56, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:44:56, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:44:56, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:56, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:44:56, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c521d050-c5d3-4b00-b255-953bac402412, created_at: 1727354692, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:56, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(00057a6928074989) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:44:56, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(00057a6928074989) in duplicate_cache and resolve promises +26 12:44:56, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:44:56, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(00057a6928074989), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(8740947965752737477), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:44:56, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c521d050-c5d3-4b00-b255-953bac402412), timestamp: 1727354696, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:57, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:57, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:58, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:58, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:44:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:58, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:44:58, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/mm2.log" vvv +running 1 test +26 12:44:48, mod:26] test_mm_start] Starting the MarketMaker... +26 12:44:48, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:44:48, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:44:48, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:44:48, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:44:48, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:44:48, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:44:48, libp2p_tcp:450] DEBUG listening on 127.0.0.236:47771 +26 12:44:48, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.236/tcp/47771" +26 12:44:48, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.236/tcp/47771" } +26 12:44:48, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.236/tcp/47771 +26 12:44:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:44:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:44:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-44-48-867_127.0.0.236/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:44:48, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:44:48, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:44:48, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:44:48, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:44:48, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:44:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:44:48, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:44:48, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:44:48 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.236:7783 DEX stats API enabled at unixtime.1727354688 <<<<<<<<< +26 12:44:50, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:44:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:44:52, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:44:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:44:52, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:44:52, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:44:52, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:44:52, mm2_main::database::my_orders:45] DEBUG Inserting new order c521d050-c5d3-4b00-b255-953bac402412 to the SQLite database +26 12:44:52, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c521d050-c5d3-4b00-b255-953bac402412, created_at: 1727354692, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:44:52, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(c0b3a55d1007ac29) +26 12:44:52, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:52, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:52, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(c0b3a55d1007ac29) +26 12:44:52, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/49018 at /ip4/127.0.0.236/tcp/47771 +26 12:44:52, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.236/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49018" } +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:44:52, yamux::connection:345] DEBUG new connection: a6a2e3e7 (Server) +26 12:44:52, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") Listener { local_addr: "/ip4/127.0.0.236/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49018" }; Total (peer): 1. +26 12:44:52, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao +26 12:44:52, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") +26 12:44:52, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.236/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49018" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.256136ms } +26 12:44:52, yamux::connection:459] DEBUG a6a2e3e7: new outbound (Stream a6a2e3e7/2) of (Connection a6a2e3e7 Server (streams 0)) +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:44:52, yamux::connection:459] DEBUG a6a2e3e7: new outbound (Stream a6a2e3e7/4) of (Connection a6a2e3e7 Server (streams 2)) +26 12:44:52, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:44:52, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:44:52, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao +26 12:44:52, libp2p_ping::handler:298] DEBUG latency to 12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao is 0ms +26 12:44:52, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao"), connection: ConnectionId(1), result: Ok(489.589µs) })) +26 12:44:52, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:44:52, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:44:52, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao"), is_included: true +26 12:44:52, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") to included_to_relays_mesh +26 12:44:53, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:53, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:53, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:53, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:54, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:54, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:54, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:54, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:55, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:55, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:55, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:44:55, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:56, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:44:56, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:44:56, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao +26 12:44:56, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:44:56, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:44:56, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") peer +26 12:44:56, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:44:56, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:44:56, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c521d050-c5d3-4b00-b255-953bac402412), timestamp: 1727354696, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:44:56, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(00057a6928074989) +26 12:44:56, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(00057a6928074989) to peer PeerId("12D3KooWF1MWgSbA55MuQ7Vf9eq784pqFFgrfJqARYCCU56M7Gao") +26 12:44:56, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:44:56, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:44:56, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(00057a6928074989) +26 12:44:56, mm2_main::database::my_orders:117] DEBUG Updating order c521d050-c5d3-4b00-b255-953bac402412 in the SQLite database +26 12:44:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:56, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:56, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:57, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:57, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:58, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:44:58, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:44:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:44:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:44:58, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:44:58, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:44:58, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:44:58, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:44:59, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:44:59, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.41s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:45:03, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/mm2.log +26 12:45:03, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.118:7783 +26 12:45:03, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.118:7783 +26 12:45:03, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:04, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:45:04, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.118:7783 +26 12:45:05, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354705118), "updated_at": Number(1727354705118), "matches": Object({}), "started_swaps": Array([]), "uuid": String("c9e5ff75-23ea-43d1-8f8e-a42b5033919a"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:45:07, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/mm2.log +26 12:45:07, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.67:7783 +26 12:45:07, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.67:7783 +26 12:45:07, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:08, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:45:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.67:7783 +26 12:45:08, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: c9e5ff75-23ea-43d1-8f8e-a42b5033919a, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354708, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"c9e5ff75-23ea-43d1-8f8e-a42b5033919a"} to http://127.0.0.118:7783 +26 12:45:08, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:45:11, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:45:11, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.118:7783 +26 12:45:11, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354711, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:11, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:45:11, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.67:7783 +26 12:45:11, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354711, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/mm2.log" vvv +running 1 test +26 12:45:05, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:05, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:05, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:45:05, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:45:05, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") +26 12:45:05, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:05, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.118/tcp/47771 +26 12:45:05, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.118/tcp/47771 +26 12:45:05, libp2p_tcp:476] DEBUG dialing 127.0.0.118:47771 +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:45:05, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:45:05, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:45:05, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-05-123_127.0.0.67/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:45:05, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:05, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:05, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:05, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:05, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:45:05, yamux::connection:345] DEBUG new connection: 90e5b225 (Client) +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:05, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.118/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:45:05, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.118/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.453707ms } +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:05, yamux::connection:459] DEBUG 90e5b225: new outbound (Stream 90e5b225/1) of (Connection 90e5b225 Client (streams 0)) +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:05, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:05, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:05, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:05, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:45:05, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:05, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:05, yamux::connection:459] DEBUG 90e5b225: new outbound (Stream 90e5b225/3) of (Connection 90e5b225 Client (streams 3)) +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(601.197µs) })) +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:05, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:05, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:05, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:05 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.67:7783 DEX stats API enabled at unixtime.1727354705 <<<<<<<<< +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:08, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:08, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:08, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:08, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:08, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:08, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:45:08, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:08, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:45:08, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:45:08, yamux::connection:459] DEBUG 90e5b225: new outbound (Stream 90e5b225/5) of (Connection 90e5b225 Client (streams 4)) +26 12:45:08, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:45:08, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:45:08, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:08, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:45:08, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c9e5ff75-23ea-43d1-8f8e-a42b5033919a, created_at: 1727354705, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:08, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(2a5828cfb2cbdfc0) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:08, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(2a5828cfb2cbdfc0) in duplicate_cache and resolve promises +26 12:45:08, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:45:08, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(2a5828cfb2cbdfc0), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(8145912826486804602), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:45:08, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c9e5ff75-23ea-43d1-8f8e-a42b5033919a), timestamp: 1727354708, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:08, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:08, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:10, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:10, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:11, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:11, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/mm2.log" vvv +running 1 test +26 12:45:01, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:01, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:01, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:45:01, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:45:01, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:45:01, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:01, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:01, libp2p_tcp:450] DEBUG listening on 127.0.0.118:47771 +26 12:45:01, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.118/tcp/47771" +26 12:45:01, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.118/tcp/47771" } +26 12:45:01, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.118/tcp/47771 +26 12:45:01, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:45:01, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:45:01, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-01-162_127.0.0.118/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:45:01, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:01, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:01, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:01, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:01, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:01, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:01, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:01, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:01 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.118:7783 DEX stats API enabled at unixtime.1727354701 <<<<<<<<< +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:03, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:45:04, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:45:04, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:45:05, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:45:05, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:05, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:45:05, mm2_main::database::my_orders:45] DEBUG Inserting new order c9e5ff75-23ea-43d1-8f8e-a42b5033919a to the SQLite database +26 12:45:05, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c9e5ff75-23ea-43d1-8f8e-a42b5033919a, created_at: 1727354705, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:05, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(69ed9849cebf0b41) +26 12:45:05, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:05, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:05, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(69ed9849cebf0b41) +26 12:45:05, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/36100 at /ip4/127.0.0.118/tcp/47771 +26 12:45:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.118/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/36100" } +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:45:05, yamux::connection:345] DEBUG new connection: bcda85cb (Server) +26 12:45:05, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") Listener { local_addr: "/ip4/127.0.0.118/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/36100" }; Total (peer): 1. +26 12:45:05, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC +26 12:45:05, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") +26 12:45:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.118/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/36100" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.929197ms } +26 12:45:05, yamux::connection:459] DEBUG bcda85cb: new outbound (Stream bcda85cb/2) of (Connection bcda85cb Server (streams 0)) +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:05, yamux::connection:459] DEBUG bcda85cb: new outbound (Stream bcda85cb/4) of (Connection bcda85cb Server (streams 2)) +26 12:45:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:05, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC +26 12:45:05, libp2p_ping::handler:298] DEBUG latency to 12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC is 0ms +26 12:45:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC"), connection: ConnectionId(1), result: Ok(409.544µs) })) +26 12:45:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:05, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC"), is_included: true +26 12:45:05, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") to included_to_relays_mesh +26 12:45:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:06, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:06, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:07, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:08, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:45:08, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:45:08, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC +26 12:45:08, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:08, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:45:08, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") peer +26 12:45:08, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:45:08, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:45:08, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c9e5ff75-23ea-43d1-8f8e-a42b5033919a), timestamp: 1727354708, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:08, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(2a5828cfb2cbdfc0) +26 12:45:08, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(2a5828cfb2cbdfc0) to peer PeerId("12D3KooWNbtAYeevyoSqzpTjUkoDtKKoCp6DKBS24aL5MSfy38LC") +26 12:45:08, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:08, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:08, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(2a5828cfb2cbdfc0) +26 12:45:08, mm2_main::database::my_orders:117] DEBUG Updating order c9e5ff75-23ea-43d1-8f8e-a42b5033919a in the SQLite database +26 12:45:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:09, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:09, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:10, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:10, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:11, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:11, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:11, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:45:11, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:45:11, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:45:11, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.18s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:45:15, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/mm2.log +26 12:45:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.35:7783 +26 12:45:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.35:7783 +26 12:45:15, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:16, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:45:16, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.35:7783 +26 12:45:17, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354717296), "updated_at": Number(1727354717296), "matches": Object({}), "started_swaps": Array([]), "uuid": String("7eaec28e-d648-474e-82c3-e8373ddfec4c"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:45:19, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/mm2.log +26 12:45:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.159:7783 +26 12:45:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.159:7783 +26 12:45:19, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:20, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:45:20, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.159:7783 +26 12:45:20, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 7eaec28e-d648-474e-82c3-e8373ddfec4c, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354720, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:20, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"7eaec28e-d648-474e-82c3-e8373ddfec4c"} to http://127.0.0.35:7783 +26 12:45:20, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:45:23, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:45:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.35:7783 +26 12:45:23, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354723, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:23, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:45:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.159:7783 +26 12:45:23, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354723, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/mm2.log" vvv +running 1 test +26 12:45:17, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:17, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:17, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:45:17, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:45:17, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") +26 12:45:17, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:17, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.35/tcp/47771 +26 12:45:17, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.35/tcp/47771 +26 12:45:17, libp2p_tcp:476] DEBUG dialing 127.0.0.35:47771 +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:45:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:45:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:45:17, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-17-301_127.0.0.159/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:45:17, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:17, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:17, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:17, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:17, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:45:17, yamux::connection:345] DEBUG new connection: c5480fc7 (Client) +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:17, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.35/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:45:17, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.35/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.916825ms } +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:17, yamux::connection:459] DEBUG c5480fc7: new outbound (Stream c5480fc7/1) of (Connection c5480fc7 Client (streams 0)) +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:17, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:17, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:17, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:45:17, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:17, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:45:17, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(495.769µs) })) +26 12:45:17, yamux::connection:459] DEBUG c5480fc7: new outbound (Stream c5480fc7/3) of (Connection c5480fc7 Client (streams 3)) +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:17, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:17, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:17, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:17 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.159:7783 DEX stats API enabled at unixtime.1727354717 <<<<<<<<< +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:19, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:20, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:20, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:20, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:20, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:45:20, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:20, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:45:20, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:45:20, yamux::connection:459] DEBUG c5480fc7: new outbound (Stream c5480fc7/5) of (Connection c5480fc7 Client (streams 4)) +26 12:45:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:45:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:45:20, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:20, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:45:20, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 7eaec28e-d648-474e-82c3-e8373ddfec4c, created_at: 1727354717, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:20, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(9f21ae058b644d90) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:20, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(9f21ae058b644d90) in duplicate_cache and resolve promises +26 12:45:20, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:45:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(9f21ae058b644d90), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(17774695912302151023), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:45:20, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(7eaec28e-d648-474e-82c3-e8373ddfec4c), timestamp: 1727354720, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:21, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:21, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:22, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:22, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:23, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:23, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/mm2.log" vvv +running 1 test +26 12:45:13, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:13, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:13, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:45:13, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:45:13, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:45:13, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:13, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:13, libp2p_tcp:450] DEBUG listening on 127.0.0.35:47771 +26 12:45:13, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.35/tcp/47771" +26 12:45:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.35/tcp/47771" } +26 12:45:13, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.35/tcp/47771 +26 12:45:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:45:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:45:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-13-268_127.0.0.35/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:45:13, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:13, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:13, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:13, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:13, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:13, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:13, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:13 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.35:7783 DEX stats API enabled at unixtime.1727354713 <<<<<<<<< +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:17, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:45:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:17, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:45:17, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:17, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:45:17, mm2_main::database::my_orders:45] DEBUG Inserting new order 7eaec28e-d648-474e-82c3-e8373ddfec4c to the SQLite database +26 12:45:17, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 7eaec28e-d648-474e-82c3-e8373ddfec4c, created_at: 1727354717, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:17, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(0ea64a6c09a1ac82) +26 12:45:17, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:17, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:17, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(0ea64a6c09a1ac82) +26 12:45:17, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/42274 at /ip4/127.0.0.35/tcp/47771 +26 12:45:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.35/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/42274" } +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:45:17, yamux::connection:345] DEBUG new connection: 4a2d305f (Server) +26 12:45:17, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") Listener { local_addr: "/ip4/127.0.0.35/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/42274" }; Total (peer): 1. +26 12:45:17, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1 +26 12:45:17, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") +26 12:45:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.35/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/42274" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.37449ms } +26 12:45:17, yamux::connection:459] DEBUG 4a2d305f: new outbound (Stream 4a2d305f/2) of (Connection 4a2d305f Server (streams 0)) +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:17, yamux::connection:459] DEBUG 4a2d305f: new outbound (Stream 4a2d305f/4) of (Connection 4a2d305f Server (streams 1)) +26 12:45:17, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:17, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:17, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1 +26 12:45:17, libp2p_ping::handler:298] DEBUG latency to 12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1 is 0ms +26 12:45:17, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1"), connection: ConnectionId(1), result: Ok(460.552µs) })) +26 12:45:17, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:17, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:17, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1"), is_included: true +26 12:45:17, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") to included_to_relays_mesh +26 12:45:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:19, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:20, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1 +26 12:45:20, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:45:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:45:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:45:20, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") peer +26 12:45:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:45:20, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:45:20, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(7eaec28e-d648-474e-82c3-e8373ddfec4c), timestamp: 1727354720, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:20, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(9f21ae058b644d90) +26 12:45:20, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(9f21ae058b644d90) to peer PeerId("12D3KooWKGtFHMu14poG3xKDSE4iBETo9hsATLURAyb98Y9QP6o1") +26 12:45:20, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:20, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:20, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(9f21ae058b644d90) +26 12:45:20, mm2_main::database::my_orders:117] DEBUG Updating order 7eaec28e-d648-474e-82c3-e8373ddfec4c in the SQLite database +26 12:45:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:21, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:23, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:23, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:23, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:45:23, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:45:23, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:45:23, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.57s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:45:28, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/mm2.log +26 12:45:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.21:7783 +26 12:45:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.21:7783 +26 12:45:28, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:29, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:45:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.21:7783 +26 12:45:29, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354729831), "updated_at": Number(1727354729831), "matches": Object({}), "started_swaps": Array([]), "uuid": String("9ed0c2a7-3454-4acd-a556-c853877681f6"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:45:31, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/mm2.log +26 12:45:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.14:7783 +26 12:45:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.14:7783 +26 12:45:31, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:33, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:45:33, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.14:7783 +26 12:45:33, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 9ed0c2a7-3454-4acd-a556-c853877681f6, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354733, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:33, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"9ed0c2a7-3454-4acd-a556-c853877681f6"} to http://127.0.0.21:7783 +26 12:45:33, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:45:36, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:45:36, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.21:7783 +26 12:45:36, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354736, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:36, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:45:36, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.14:7783 +26 12:45:36, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354736, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/mm2.log" vvv +running 1 test +26 12:45:29, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:29, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:29, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:45:29, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:45:29, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") +26 12:45:29, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:29, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.21/tcp/47771 +26 12:45:29, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.21/tcp/47771 +26 12:45:29, libp2p_tcp:476] DEBUG dialing 127.0.0.21:47771 +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:45:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:45:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:45:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-29-836_127.0.0.14/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:45:29, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:29, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:29, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:29, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:29, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:45:29, yamux::connection:345] DEBUG new connection: a5c1f1cf (Client) +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:29, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.21/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:29, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.21/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.921909ms } +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:29, yamux::connection:459] DEBUG a5c1f1cf: new outbound (Stream a5c1f1cf/1) of (Connection a5c1f1cf Client (streams 0)) +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:29, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:29, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:29, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:45:29, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:45:29, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:29, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:45:29, yamux::connection:459] DEBUG a5c1f1cf: new outbound (Stream a5c1f1cf/3) of (Connection a5c1f1cf Client (streams 3)) +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(492.703µs) })) +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:29, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:29, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:29 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.14:7783 DEX stats API enabled at unixtime.1727354729 <<<<<<<<< +26 12:45:31, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:33, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:33, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:33, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:33, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:45:33, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:33, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:45:33, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:45:33, yamux::connection:459] DEBUG a5c1f1cf: new outbound (Stream a5c1f1cf/5) of (Connection a5c1f1cf Client (streams 4)) +26 12:45:33, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:45:33, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:45:33, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:33, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:45:33, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 9ed0c2a7-3454-4acd-a556-c853877681f6, created_at: 1727354729, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:33, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(cdab5189ff173bef) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:33, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(cdab5189ff173bef) in duplicate_cache and resolve promises +26 12:45:33, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:45:33, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(cdab5189ff173bef), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(11454308863081016026), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:45:33, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(9ed0c2a7-3454-4acd-a556-c853877681f6), timestamp: 1727354733, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:34, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:34, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:34, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:35, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:35, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/mm2.log" vvv +running 1 test +26 12:45:26, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:26, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:26, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:45:26, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:45:26, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:45:26, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:26, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:26, libp2p_tcp:450] DEBUG listening on 127.0.0.21:47771 +26 12:45:26, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.21/tcp/47771" +26 12:45:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.21/tcp/47771" } +26 12:45:26, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.21/tcp/47771 +26 12:45:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:45:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:45:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-26-087_127.0.0.21/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:45:26, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:26, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:26, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:26, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:26, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:26, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:26, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:26 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.21:7783 DEX stats API enabled at unixtime.1727354726 <<<<<<<<< +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:29, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:45:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:29, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:45:29, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:29, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:45:29, mm2_main::database::my_orders:45] DEBUG Inserting new order 9ed0c2a7-3454-4acd-a556-c853877681f6 to the SQLite database +26 12:45:29, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 9ed0c2a7-3454-4acd-a556-c853877681f6, created_at: 1727354729, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:29, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(6de4749f9b7b699f) +26 12:45:29, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:29, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:29, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(6de4749f9b7b699f) +26 12:45:29, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/51252 at /ip4/127.0.0.21/tcp/47771 +26 12:45:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.21/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/51252" } +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:45:29, yamux::connection:345] DEBUG new connection: 39532ec5 (Server) +26 12:45:29, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") Listener { local_addr: "/ip4/127.0.0.21/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/51252" }; Total (peer): 1. +26 12:45:29, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn +26 12:45:29, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") +26 12:45:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.21/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/51252" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.480765ms } +26 12:45:29, yamux::connection:459] DEBUG 39532ec5: new outbound (Stream 39532ec5/2) of (Connection 39532ec5 Server (streams 0)) +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:29, yamux::connection:459] DEBUG 39532ec5: new outbound (Stream 39532ec5/4) of (Connection 39532ec5 Server (streams 2)) +26 12:45:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:29, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn +26 12:45:29, libp2p_ping::handler:298] DEBUG latency to 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn is 0ms +26 12:45:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn"), connection: ConnectionId(1), result: Ok(460.522µs) })) +26 12:45:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:29, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn"), is_included: true +26 12:45:29, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") to included_to_relays_mesh +26 12:45:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:33, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:45:33, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:45:33, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn +26 12:45:33, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:33, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:45:33, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") peer +26 12:45:33, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:45:33, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:45:33, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(9ed0c2a7-3454-4acd-a556-c853877681f6), timestamp: 1727354733, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:33, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(cdab5189ff173bef) +26 12:45:33, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(cdab5189ff173bef) to peer PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") +26 12:45:33, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:33, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:33, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(cdab5189ff173bef) +26 12:45:33, mm2_main::database::my_orders:117] DEBUG Updating order 9ed0c2a7-3454-4acd-a556-c853877681f6 in the SQLite database +26 12:45:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:33, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:33, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:35, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:35, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:35, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn") +26 12:45:35, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWLoYTU9HSSVQwyR3SkV1VWpNS3nVW2HqUh3uFAk7TmRGn +26 12:45:36, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:45:36, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.97s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:45:40, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/mm2.log +26 12:45:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.182:7783 +26 12:45:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.182:7783 +26 12:45:40, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:41, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:45:41, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.182:7783 +26 12:45:41, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354741657), "updated_at": Number(1727354741657), "matches": Object({}), "started_swaps": Array([]), "uuid": String("c8786aec-5582-42a8-9c63-2065fbbdccfc"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:45:43, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/mm2.log +26 12:45:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.227:7783 +26 12:45:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.227:7783 +26 12:45:43, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:45:44, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:45:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.227:7783 +26 12:45:44, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: c8786aec-5582-42a8-9c63-2065fbbdccfc, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354744, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"c8786aec-5582-42a8-9c63-2065fbbdccfc"} to http://127.0.0.182:7783 +26 12:45:45, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:45:48, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:45:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.182:7783 +26 12:45:48, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354748, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:45:48, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:45:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.227:7783 +26 12:45:48, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354748, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/mm2.log" vvv +running 1 test +26 12:45:41, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:41, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:41, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:45:41, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:45:41, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") +26 12:45:41, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:41, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.182/tcp/47771 +26 12:45:41, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.182/tcp/47771 +26 12:45:41, libp2p_tcp:476] DEBUG dialing 127.0.0.182:47771 +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:45:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:45:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:45:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-41-663_127.0.0.227/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:45:41, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:41, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:41, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:41, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:41, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:45:41, yamux::connection:345] DEBUG new connection: 4a6c3aeb (Client) +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:41, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.182/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:45:41, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.182/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.40797ms } +26 12:45:41, yamux::connection:459] DEBUG 4a6c3aeb: new outbound (Stream 4a6c3aeb/1) of (Connection 4a6c3aeb Client (streams 0)) +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:41, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:41, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:41, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:45:41, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:45:41, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:41, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:41, yamux::connection:459] DEBUG 4a6c3aeb: new outbound (Stream 4a6c3aeb/3) of (Connection 4a6c3aeb Client (streams 3)) +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(420.565µs) })) +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:41, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:41, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:41 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.227:7783 DEX stats API enabled at unixtime.1727354741 <<<<<<<<< +26 12:45:43, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:44, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:44, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:44, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:44, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:45:44, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:44, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:45:44, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:45:44, yamux::connection:459] DEBUG 4a6c3aeb: new outbound (Stream 4a6c3aeb/5) of (Connection 4a6c3aeb Client (streams 4)) +26 12:45:44, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:45:44, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:45:44, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:44, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:45:44, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c8786aec-5582-42a8-9c63-2065fbbdccfc, created_at: 1727354741, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:44, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(daef3af31c8c42fa) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:44, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(daef3af31c8c42fa) in duplicate_cache and resolve promises +26 12:45:44, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:45:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(daef3af31c8c42fa), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6669634988787478461), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:45:45, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c8786aec-5582-42a8-9c63-2065fbbdccfc), timestamp: 1727354744, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:46, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:45:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:46, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:46, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:47, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:47, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:45:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:47, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:45:47, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/mm2.log" vvv +running 1 test +26 12:45:38, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:38, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:38, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:45:38, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:45:38, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:45:38, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:38, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:38, libp2p_tcp:450] DEBUG listening on 127.0.0.182:47771 +26 12:45:38, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.182/tcp/47771" +26 12:45:38, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.182/tcp/47771" } +26 12:45:38, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.182/tcp/47771 +26 12:45:38, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:45:38, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:45:38, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-38-006_127.0.0.182/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:45:38, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:38, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:38, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:38, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:38, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:38, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:38, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:38, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:38 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.182:7783 DEX stats API enabled at unixtime.1727354738 <<<<<<<<< +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:45:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:45:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:45:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:45:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:45:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:45:41, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:45:41, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:45:41, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:45:41, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:45:41, mm2_main::database::my_orders:45] DEBUG Inserting new order c8786aec-5582-42a8-9c63-2065fbbdccfc to the SQLite database +26 12:45:41, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c8786aec-5582-42a8-9c63-2065fbbdccfc, created_at: 1727354741, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:45:41, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(2a2eec200d92dac4) +26 12:45:41, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:41, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:41, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(2a2eec200d92dac4) +26 12:45:41, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/44264 at /ip4/127.0.0.182/tcp/47771 +26 12:45:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.182/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/44264" } +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:45:41, yamux::connection:345] DEBUG new connection: 6656ac42 (Server) +26 12:45:41, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") Listener { local_addr: "/ip4/127.0.0.182/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/44264" }; Total (peer): 1. +26 12:45:41, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr +26 12:45:41, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") +26 12:45:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.182/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/44264" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.888258ms } +26 12:45:41, yamux::connection:459] DEBUG 6656ac42: new outbound (Stream 6656ac42/2) of (Connection 6656ac42 Server (streams 0)) +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:45:41, yamux::connection:459] DEBUG 6656ac42: new outbound (Stream 6656ac42/4) of (Connection 6656ac42 Server (streams 1)) +26 12:45:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:45:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:45:41, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr +26 12:45:41, libp2p_ping::handler:298] DEBUG latency to 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr is 0ms +26 12:45:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr"), connection: ConnectionId(1), result: Ok(430.271µs) })) +26 12:45:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:45:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:45:41, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr"), is_included: true +26 12:45:41, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") to included_to_relays_mesh +26 12:45:43, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:43, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:43, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:43, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:44, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:44, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:44, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:45:44, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:44, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:45:44, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:45:44, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr +26 12:45:44, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:45:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:45:44, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") peer +26 12:45:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:45:44, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:45:44, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c8786aec-5582-42a8-9c63-2065fbbdccfc), timestamp: 1727354744, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:45:44, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(daef3af31c8c42fa) +26 12:45:44, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(daef3af31c8c42fa) to peer PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") +26 12:45:44, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:45:44, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:45:44, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(daef3af31c8c42fa) +26 12:45:44, mm2_main::database::my_orders:117] DEBUG Updating order c8786aec-5582-42a8-9c63-2065fbbdccfc in the SQLite database +26 12:45:45, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:45, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:45, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:45, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:46, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:46, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:47, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:45:47, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:45:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:45:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:45:47, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:45:47, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:45:47, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr") +26 12:45:47, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWAVW1V5woLa96i3mzQ1PHAZCsqQjgurmcYwZuiQNvZ5Vr +26 12:45:48, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:45:48, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:46:00, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/mm2.log +26 12:46:00, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.72:7783 +26 12:46:00, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.72:7783 +26 12:46:00, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:01, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:46:01, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.72:7783 +26 12:46:02, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354762099), "updated_at": Number(1727354762099), "matches": Object({}), "started_swaps": Array([]), "uuid": String("c8cff36e-0831-4a3f-bb30-bdcf70b72952"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:46:04, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/mm2.log +26 12:46:04, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.231:7783 +26 12:46:04, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.231:7783 +26 12:46:04, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:05, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:46:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.231:7783 +26 12:46:05, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: c8cff36e-0831-4a3f-bb30-bdcf70b72952, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354765, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"c8cff36e-0831-4a3f-bb30-bdcf70b72952"} to http://127.0.0.72:7783 +26 12:46:05, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:46:08, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:46:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.72:7783 +26 12:46:08, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354768, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:08, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:46:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.231:7783 +26 12:46:08, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354768, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/mm2.log" vvv +running 1 test +26 12:46:02, mod:26] test_mm_start] Starting the MarketMaker... +26 12:46:02, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:46:02, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:46:02, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:46:02, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") +26 12:46:02, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:46:02, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.72/tcp/47771 +26 12:46:02, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.72/tcp/47771 +26 12:46:02, libp2p_tcp:476] DEBUG dialing 127.0.0.72:47771 +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:46:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:46:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:46:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-02-105_127.0.0.231/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:46:02, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:46:02, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:46:02, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:46:02, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:46:02, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:46:02, yamux::connection:345] DEBUG new connection: c90baba1 (Client) +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:46:02, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.72/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:46:02, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.72/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.57059ms } +26 12:46:02, yamux::connection:459] DEBUG c90baba1: new outbound (Stream c90baba1/1) of (Connection c90baba1 Client (streams 0)) +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:46:02, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:46:02, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:02, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:46:02, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:46:02, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:46:02, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(414.711µs) })) +26 12:46:02, yamux::connection:459] DEBUG c90baba1: new outbound (Stream c90baba1/3) of (Connection c90baba1 Client (streams 3)) +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:46:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:46:02, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:46:02, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:46:02 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.231:7783 DEX stats API enabled at unixtime.1727354762 <<<<<<<<< +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:04, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:05, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:05, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:05, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:05, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:46:05, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:05, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:46:05, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:46:05, yamux::connection:459] DEBUG c90baba1: new outbound (Stream c90baba1/5) of (Connection c90baba1 Client (streams 4)) +26 12:46:05, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:46:05, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:46:05, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:05, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:46:05, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c8cff36e-0831-4a3f-bb30-bdcf70b72952, created_at: 1727354762, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:05, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(df7b5d004015ce0b) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:05, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(df7b5d004015ce0b) in duplicate_cache and resolve promises +26 12:46:05, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:46:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(df7b5d004015ce0b), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(5595082046759214398), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:46:05, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c8cff36e-0831-4a3f-bb30-bdcf70b72952), timestamp: 1727354765, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:07, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:46:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:07, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:46:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:08, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:46:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:08, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:46:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/mm2.log" vvv +running 1 test +26 12:45:58, mod:26] test_mm_start] Starting the MarketMaker... +26 12:45:58, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:45:58, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:45:58, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:45:58, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:45:58, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:45:58, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:45:58, libp2p_tcp:450] DEBUG listening on 127.0.0.72:47771 +26 12:45:58, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.72/tcp/47771" +26 12:45:58, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.72/tcp/47771" } +26 12:45:58, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.72/tcp/47771 +26 12:45:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:45:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:45:58, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-45-58-067_127.0.0.72/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:45:58, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:45:58, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:45:58, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:45:58, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:45:58, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:45:58, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:45:58, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:45:58, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:45:58 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.72:7783 DEX stats API enabled at unixtime.1727354758 <<<<<<<<< +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:00, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:01, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:01, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:46:02, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:46:02, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:02, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:46:02, mm2_main::database::my_orders:45] DEBUG Inserting new order c8cff36e-0831-4a3f-bb30-bdcf70b72952 to the SQLite database +26 12:46:02, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: c8cff36e-0831-4a3f-bb30-bdcf70b72952, created_at: 1727354762, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:02, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(aa86d761d8056d31) +26 12:46:02, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:02, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:02, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:02, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(aa86d761d8056d31) +26 12:46:02, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/58078 at /ip4/127.0.0.72/tcp/47771 +26 12:46:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.72/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/58078" } +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:46:02, yamux::connection:345] DEBUG new connection: 02333159 (Server) +26 12:46:02, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") Listener { local_addr: "/ip4/127.0.0.72/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/58078" }; Total (peer): 1. +26 12:46:02, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip +26 12:46:02, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") +26 12:46:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.72/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/58078" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.932726ms } +26 12:46:02, yamux::connection:459] DEBUG 02333159: new outbound (Stream 02333159/2) of (Connection 02333159 Server (streams 0)) +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:02, yamux::connection:459] DEBUG 02333159: new outbound (Stream 02333159/4) of (Connection 02333159 Server (streams 2)) +26 12:46:02, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:02, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:02, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip +26 12:46:02, libp2p_ping::handler:298] DEBUG latency to 12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip is 0ms +26 12:46:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip"), connection: ConnectionId(1), result: Ok(503.544µs) })) +26 12:46:02, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:02, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:02, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip"), is_included: true +26 12:46:02, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") to included_to_relays_mesh +26 12:46:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:03, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:03, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:03, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:03, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:04, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:04, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:04, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:04, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:04, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:05, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:05, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:05, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:05, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:05, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:46:05, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:46:05, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip +26 12:46:05, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:46:05, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") peer +26 12:46:05, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:46:05, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:46:05, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(c8cff36e-0831-4a3f-bb30-bdcf70b72952), timestamp: 1727354765, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:05, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(df7b5d004015ce0b) +26 12:46:05, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(df7b5d004015ce0b) to peer PeerId("12D3KooWMfHcupVpBoATxmEfHuhobfrwHkmeysWEiqCkst76wZip") +26 12:46:05, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:05, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:05, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(df7b5d004015ce0b) +26 12:46:05, mm2_main::database::my_orders:117] DEBUG Updating order c8cff36e-0831-4a3f-bb30-bdcf70b72952 in the SQLite database +26 12:46:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:06, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:06, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:07, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:08, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:46:08, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:46:08, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:46:08, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.73s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:46:12, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/mm2.log +26 12:46:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.90:7783 +26 12:46:13, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.90:7783 +26 12:46:12, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:14, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:46:14, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.90:7783 +26 12:46:14, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354774565), "updated_at": Number(1727354774565), "matches": Object({}), "started_swaps": Array([]), "uuid": String("0221ad62-5e29-49ca-b4e1-d7131d00d187"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:46:16, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/mm2.log +26 12:46:16, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.192:7783 +26 12:46:17, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.192:7783 +26 12:46:16, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:18, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:46:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.192:7783 +26 12:46:18, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 0221ad62-5e29-49ca-b4e1-d7131d00d187, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354778, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"0221ad62-5e29-49ca-b4e1-d7131d00d187"} to http://127.0.0.90:7783 +26 12:46:18, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:46:21, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:46:21, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.90:7783 +26 12:46:21, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354781, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:21, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:46:21, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.192:7783 +26 12:46:21, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354781, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/mm2.log" vvv +running 1 test +26 12:46:14, mod:26] test_mm_start] Starting the MarketMaker... +26 12:46:14, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:46:14, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:46:14, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:46:14, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") +26 12:46:14, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:46:14, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.90/tcp/47771 +26 12:46:14, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.90/tcp/47771 +26 12:46:14, libp2p_tcp:476] DEBUG dialing 127.0.0.90:47771 +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:46:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:46:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:46:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-14-570_127.0.0.192/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:46:14, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:46:14, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:46:14, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:46:14, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:46:14, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:46:14, yamux::connection:345] DEBUG new connection: 3720c06f (Client) +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:46:14, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.90/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:46:14, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.90/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.413541ms } +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:46:14, yamux::connection:459] DEBUG 3720c06f: new outbound (Stream 3720c06f/1) of (Connection 3720c06f Client (streams 0)) +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:46:14, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:46:14, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:46:14, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:14, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:46:14, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:46:14, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:46:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(507.407µs) })) +26 12:46:14, yamux::connection:459] DEBUG 3720c06f: new outbound (Stream 3720c06f/3) of (Connection 3720c06f Client (streams 3)) +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:46:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:46:14, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:46:14, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:46:14 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.192:7783 DEX stats API enabled at unixtime.1727354774 <<<<<<<<< +26 12:46:16, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:16, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:16, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:18, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:18, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:18, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:18, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:46:18, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:18, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:46:18, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:46:18, yamux::connection:459] DEBUG 3720c06f: new outbound (Stream 3720c06f/5) of (Connection 3720c06f Client (streams 4)) +26 12:46:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:46:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:46:18, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:18, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:46:18, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 0221ad62-5e29-49ca-b4e1-d7131d00d187, created_at: 1727354774, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:18, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(3570cdf8dd268af8) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:18, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(3570cdf8dd268af8) in duplicate_cache and resolve promises +26 12:46:18, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:46:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(3570cdf8dd268af8), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(17299620650653263567), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:46:18, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(0221ad62-5e29-49ca-b4e1-d7131d00d187), timestamp: 1727354778, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:19, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:46:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:19, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:46:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:20, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:46:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:20, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:46:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/mm2.log" vvv +running 1 test +26 12:46:10, mod:26] test_mm_start] Starting the MarketMaker... +26 12:46:10, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:46:10, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:46:10, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:46:10, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:46:10, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:10, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:46:10, libp2p_tcp:450] DEBUG listening on 127.0.0.90:47771 +26 12:46:10, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.90/tcp/47771" +26 12:46:10, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.90/tcp/47771" } +26 12:46:10, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.90/tcp/47771 +26 12:46:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:46:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:46:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-10-812_127.0.0.90/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:46:10, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:46:10, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:46:10, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:46:10, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:46:10, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:46:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:46:10, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:46:10, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:46:10 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.90:7783 DEX stats API enabled at unixtime.1727354770 <<<<<<<<< +26 12:46:12, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:13, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:14, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:46:14, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:46:14, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:14, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:46:14, mm2_main::database::my_orders:45] DEBUG Inserting new order 0221ad62-5e29-49ca-b4e1-d7131d00d187 to the SQLite database +26 12:46:14, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 0221ad62-5e29-49ca-b4e1-d7131d00d187, created_at: 1727354774, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:14, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(0f055874f261d143) +26 12:46:14, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:14, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:14, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(0f055874f261d143) +26 12:46:14, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/43666 at /ip4/127.0.0.90/tcp/47771 +26 12:46:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.90/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/43666" } +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:46:14, yamux::connection:345] DEBUG new connection: 5d5fdf3b (Server) +26 12:46:14, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") Listener { local_addr: "/ip4/127.0.0.90/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/43666" }; Total (peer): 1. +26 12:46:14, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny +26 12:46:14, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") +26 12:46:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.90/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/43666" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.859094ms } +26 12:46:14, yamux::connection:459] DEBUG 5d5fdf3b: new outbound (Stream 5d5fdf3b/2) of (Connection 5d5fdf3b Server (streams 0)) +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:14, yamux::connection:459] DEBUG 5d5fdf3b: new outbound (Stream 5d5fdf3b/4) of (Connection 5d5fdf3b Server (streams 2)) +26 12:46:14, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:14, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:14, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny +26 12:46:14, libp2p_ping::handler:298] DEBUG latency to 12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny is 0ms +26 12:46:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny"), connection: ConnectionId(1), result: Ok(602.367µs) })) +26 12:46:14, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:14, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:14, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny"), is_included: true +26 12:46:14, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") to included_to_relays_mesh +26 12:46:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:15, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:15, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:16, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:16, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:17, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:18, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny +26 12:46:18, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:46:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:46:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:46:18, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") peer +26 12:46:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:46:18, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:46:18, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(0221ad62-5e29-49ca-b4e1-d7131d00d187), timestamp: 1727354778, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:18, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(3570cdf8dd268af8) +26 12:46:18, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(3570cdf8dd268af8) to peer PeerId("12D3KooWJkmR7oiBdo96eFE5XneSEGrr9caf4kPabMXGhZt3d6Ny") +26 12:46:18, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:18, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:18, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(3570cdf8dd268af8) +26 12:46:18, mm2_main::database::my_orders:117] DEBUG Updating order 0221ad62-5e29-49ca-b4e1-d7131d00d187 in the SQLite database +26 12:46:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:19, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:20, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:46:20, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:46:21, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:46:21, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.58s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:46:26, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/mm2.log +26 12:46:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.31:7783 +26 12:46:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.31:7783 +26 12:46:26, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:26, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:46:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.31:7783 +26 12:46:26, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354786826), "updated_at": Number(1727354786826), "matches": Object({}), "started_swaps": Array([]), "uuid": String("3e3db8f3-ad70-4ab0-956e-3556482cd7ab"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:46:28, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/mm2.log +26 12:46:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.191:7783 +26 12:46:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.191:7783 +26 12:46:28, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:46:29, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:46:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.191:7783 +26 12:46:29, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 3e3db8f3-ad70-4ab0-956e-3556482cd7ab, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354789, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"3e3db8f3-ad70-4ab0-956e-3556482cd7ab"} to http://127.0.0.31:7783 +26 12:46:29, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:46:32, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:46:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.31:7783 +26 12:46:32, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354792, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:46:32, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:46:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.191:7783 +26 12:46:32, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 6, uuid: 3e3db8f3-ad70-4ab0-956e-3556482cd7ab, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354792, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/mm2.log" vvv +running 1 test +26 12:46:26, mod:26] test_mm_start] Starting the MarketMaker... +26 12:46:26, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:46:26, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:46:26, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:46:26, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") +26 12:46:26, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:46:26, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.31/tcp/47771 +26 12:46:26, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.31/tcp/47771 +26 12:46:26, libp2p_tcp:476] DEBUG dialing 127.0.0.31:47771 +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:46:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:46:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:46:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-26-832_127.0.0.191/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:46:26, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:46:26, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:46:26, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:46:26, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:46:26, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:46:26, yamux::connection:345] DEBUG new connection: 4fae6363 (Client) +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:46:26, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.31/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:46:26, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.31/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.067346ms } +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:46:26, yamux::connection:459] DEBUG 4fae6363: new outbound (Stream 4fae6363/1) of (Connection 4fae6363 Client (streams 0)) +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:26, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:46:26, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:46:26, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:46:26, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:46:26, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:46:26, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(376.002µs) })) +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:46:26, yamux::connection:459] DEBUG 4fae6363: new outbound (Stream 4fae6363/3) of (Connection 4fae6363 Client (streams 3)) +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:46:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:46:26, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:46:26, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:46:26 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.191:7783 DEX stats API enabled at unixtime.1727354786 <<<<<<<<< +26 12:46:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:46:29, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:29, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:29, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:29, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:46:29, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:29, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:46:29, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:46:29, yamux::connection:459] DEBUG 4fae6363: new outbound (Stream 4fae6363/5) of (Connection 4fae6363 Client (streams 4)) +26 12:46:29, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:46:29, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:46:29, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:29, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:46:29, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 3e3db8f3-ad70-4ab0-956e-3556482cd7ab, created_at: 1727354786, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:29, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(4031b539bc7334f2) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:29, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(4031b539bc7334f2) in duplicate_cache and resolve promises +26 12:46:29, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:46:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(4031b539bc7334f2), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(1685171422253264723), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:46:29, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(3e3db8f3-ad70-4ab0-956e-3556482cd7ab), timestamp: 1727354789, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:30, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:31, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:46:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:31, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:46:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:32, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:32, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(418b4397ec257c6c) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:46:32, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(418b4397ec257c6c) in duplicate_cache and resolve promises +26 12:46:32, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:46:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(418b4397ec257c6c), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(11748652790117410375), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:46:32, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(3e3db8f3-ad70-4ab0-956e-3556482cd7ab), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727354786, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727354786, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:46:32, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 3e3db8f3-ad70-4ab0-956e-3556482cd7ab, created_at: 1727354786, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/mm2.log" vvv +running 1 test +26 12:46:24, mod:26] test_mm_start] Starting the MarketMaker... +26 12:46:24, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:46:24, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:46:24, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:46:24, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:46:24, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:46:24, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:46:24, libp2p_tcp:450] DEBUG listening on 127.0.0.31:47771 +26 12:46:24, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.31/tcp/47771" +26 12:46:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.31/tcp/47771" } +26 12:46:24, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.31/tcp/47771 +26 12:46:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:46:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:46:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-46-24-069_127.0.0.31/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:46:24, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:46:24, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:46:24, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:46:24, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:46:24, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:46:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:46:24, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:46:24, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:46:24 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.31:7783 DEX stats API enabled at unixtime.1727354784 <<<<<<<<< +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:46:26, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:46:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:46:26, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:46:26, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:46:26, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:46:26, mm2_main::database::my_orders:45] DEBUG Inserting new order 3e3db8f3-ad70-4ab0-956e-3556482cd7ab to the SQLite database +26 12:46:26, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 3e3db8f3-ad70-4ab0-956e-3556482cd7ab, created_at: 1727354786, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:46:26, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(418b4397ec257c6c) +26 12:46:26, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:26, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:26, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(418b4397ec257c6c) +26 12:46:26, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/34486 at /ip4/127.0.0.31/tcp/47771 +26 12:46:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.31/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34486" } +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:46:26, yamux::connection:345] DEBUG new connection: fa7a8bfe (Server) +26 12:46:26, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") Listener { local_addr: "/ip4/127.0.0.31/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34486" }; Total (peer): 1. +26 12:46:26, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d +26 12:46:26, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") +26 12:46:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.31/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34486" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.486201ms } +26 12:46:26, yamux::connection:459] DEBUG fa7a8bfe: new outbound (Stream fa7a8bfe/2) of (Connection fa7a8bfe Server (streams 0)) +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:46:26, yamux::connection:459] DEBUG fa7a8bfe: new outbound (Stream fa7a8bfe/4) of (Connection fa7a8bfe Server (streams 2)) +26 12:46:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:46:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:46:26, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d +26 12:46:26, libp2p_ping::handler:298] DEBUG latency to 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d is 0ms +26 12:46:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d"), connection: ConnectionId(1), result: Ok(458.287µs) })) +26 12:46:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:46:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:46:26, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d"), is_included: true +26 12:46:26, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") to included_to_relays_mesh +26 12:46:29, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:29, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:29, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:46:29, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:29, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:46:29, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:46:29, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d +26 12:46:29, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:46:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:46:29, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") peer +26 12:46:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:46:29, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:46:29, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(3e3db8f3-ad70-4ab0-956e-3556482cd7ab), timestamp: 1727354789, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:46:29, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(4031b539bc7334f2) +26 12:46:29, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(4031b539bc7334f2) to peer PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") +26 12:46:29, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:46:29, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:46:29, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(4031b539bc7334f2) +26 12:46:29, mm2_main::database::my_orders:117] DEBUG Updating order 3e3db8f3-ad70-4ab0-956e-3556482cd7ab in the SQLite database +26 12:46:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:30, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:30, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:46:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:46:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:46:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:46:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:46:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:46:32, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") +26 12:46:32, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d") +26 12:46:32, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWL5N8TNnVPWNhbjAdUD8zdvLCBKv6Tox2HFseLzw4Gh7d +26 12:46:32, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:46:32, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.54s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:47:09, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/mm2.log +26 12:47:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.223:7783 +26 12:47:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.223:7783 +26 12:47:09, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:09, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:47:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.223:7783 +26 12:47:09, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354829900), "updated_at": Number(1727354829900), "matches": Object({}), "started_swaps": Array([]), "uuid": String("6b0109c6-5867-404f-aafd-1371f2defd93"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:47:11, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/mm2.log +26 12:47:11, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.33:7783 +26 12:47:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.33:7783 +26 12:47:11, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:12, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:47:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.33:7783 +26 12:47:12, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 6b0109c6-5867-404f-aafd-1371f2defd93, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354832, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"6b0109c6-5867-404f-aafd-1371f2defd93"} to http://127.0.0.223:7783 +26 12:47:12, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:47:15, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:47:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.223:7783 +26 12:47:15, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354835, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:15, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:47:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.33:7783 +26 12:47:15, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 6, uuid: 6b0109c6-5867-404f-aafd-1371f2defd93, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354835, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/mm2.log" vvv +running 1 test +26 12:47:09, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:09, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:09, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:47:09, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:47:09, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") +26 12:47:09, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:09, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.223/tcp/47771 +26 12:47:09, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.223/tcp/47771 +26 12:47:09, libp2p_tcp:476] DEBUG dialing 127.0.0.223:47771 +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:47:09, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:47:09, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:47:09, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-09-908_127.0.0.33/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:47:09, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:47:09, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:09, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:09, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:09, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:47:09, yamux::connection:345] DEBUG new connection: 613b3522 (Client) +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:09, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.223/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:47:09, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.223/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.874375ms } +26 12:47:09, yamux::connection:459] DEBUG 613b3522: new outbound (Stream 613b3522/1) of (Connection 613b3522 Client (streams 0)) +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:09, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:09, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:09, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:47:09, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:47:09, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:47:09, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(492.071µs) })) +26 12:47:09, yamux::connection:459] DEBUG 613b3522: new outbound (Stream 613b3522/3) of (Connection 613b3522 Client (streams 3)) +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:09, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:09, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:09, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:09 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.33:7783 DEX stats API enabled at unixtime.1727354829 <<<<<<<<< +26 12:47:11, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:12, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:12, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:12, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:12, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:47:12, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:12, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:47:12, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:47:12, yamux::connection:459] DEBUG 613b3522: new outbound (Stream 613b3522/5) of (Connection 613b3522 Client (streams 4)) +26 12:47:12, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:47:12, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:47:12, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:12, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:47:12, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 6b0109c6-5867-404f-aafd-1371f2defd93, created_at: 1727354829, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:12, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(16025055134e53ae) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:12, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(16025055134e53ae) in duplicate_cache and resolve promises +26 12:47:12, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:47:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(16025055134e53ae), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(825588621463464586), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:47:12, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(6b0109c6-5867-404f-aafd-1371f2defd93), timestamp: 1727354832, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:13, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:14, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:14, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:47:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:14, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:47:14, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:15, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:15, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(1b5e3ba532591cf7) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:15, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(1b5e3ba532591cf7) in duplicate_cache and resolve promises +26 12:47:15, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:47:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(1b5e3ba532591cf7), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6534359627555417083), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:47:15, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(6b0109c6-5867-404f-aafd-1371f2defd93), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727354829, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727354829, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:47:15, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 6b0109c6-5867-404f-aafd-1371f2defd93, created_at: 1727354829, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/mm2.log" vvv +running 1 test +26 12:47:07, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:07, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:07, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:47:07, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:47:07, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:47:07, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:07, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:07, libp2p_tcp:450] DEBUG listening on 127.0.0.223:47771 +26 12:47:07, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.223/tcp/47771" +26 12:47:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.223/tcp/47771" } +26 12:47:07, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.223/tcp/47771 +26 12:47:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:47:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:47:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-07-296_127.0.0.223/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:47:07, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:07, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:07, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:07, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:07, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:07, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:07, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:07 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.223:7783 DEX stats API enabled at unixtime.1727354827 <<<<<<<<< +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:09, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:47:09, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:47:09, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:09, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:47:09, mm2_main::database::my_orders:45] DEBUG Inserting new order 6b0109c6-5867-404f-aafd-1371f2defd93 to the SQLite database +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:09, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 6b0109c6-5867-404f-aafd-1371f2defd93, created_at: 1727354829, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:09, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(1b5e3ba532591cf7) +26 12:47:09, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:09, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:09, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(1b5e3ba532591cf7) +26 12:47:09, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/48624 at /ip4/127.0.0.223/tcp/47771 +26 12:47:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.223/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48624" } +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:47:09, yamux::connection:345] DEBUG new connection: b44420a9 (Server) +26 12:47:09, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") Listener { local_addr: "/ip4/127.0.0.223/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48624" }; Total (peer): 1. +26 12:47:09, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ +26 12:47:09, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") +26 12:47:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.223/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48624" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.261899ms } +26 12:47:09, yamux::connection:459] DEBUG b44420a9: new outbound (Stream b44420a9/2) of (Connection b44420a9 Server (streams 0)) +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:09, yamux::connection:459] DEBUG b44420a9: new outbound (Stream b44420a9/4) of (Connection b44420a9 Server (streams 1)) +26 12:47:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:09, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ +26 12:47:09, libp2p_ping::handler:298] DEBUG latency to 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ is 0ms +26 12:47:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ"), connection: ConnectionId(1), result: Ok(659.243µs) })) +26 12:47:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:09, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ"), is_included: true +26 12:47:09, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") to included_to_relays_mesh +26 12:47:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:12, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:12, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:47:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:12, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:47:12, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:47:12, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ +26 12:47:12, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:47:12, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") peer +26 12:47:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:47:12, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:47:12, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(6b0109c6-5867-404f-aafd-1371f2defd93), timestamp: 1727354832, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:12, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(16025055134e53ae) +26 12:47:12, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(16025055134e53ae) to peer PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") +26 12:47:12, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:12, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:12, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(16025055134e53ae) +26 12:47:12, mm2_main::database::my_orders:117] DEBUG Updating order 6b0109c6-5867-404f-aafd-1371f2defd93 in the SQLite database +26 12:47:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:13, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:13, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:14, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:14, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:14, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:14, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:14, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:15, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:15, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:15, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") +26 12:47:15, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ") +26 12:47:15, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWH6TGitXwV82hLLbtF5KkhdMZgiop39V7ta4QeZNUaZeZ +26 12:47:15, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:47:15, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.09s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:47:29, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/mm2.log +26 12:47:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:47:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:47:29, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:29, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:47:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.183:7783 +26 12:47:30, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354850025), "updated_at": Number(1727354850025), "matches": Object({}), "started_swaps": Array([]), "uuid": String("5475e24e-88da-41a9-8984-785c53e8c814"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:47:32, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/mm2.log +26 12:47:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.61:7783 +26 12:47:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.61:7783 +26 12:47:32, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:32, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:47:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.61:7783 +26 12:47:32, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 2, uuid: 5475e24e-88da-41a9-8984-785c53e8c814, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354852, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"5475e24e-88da-41a9-8984-785c53e8c814"} to http://127.0.0.183:7783 +26 12:47:32, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:47:35, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:47:35, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:47:35, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354855, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:35, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:47:35, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.61:7783 +26 12:47:35, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 5, uuid: 5475e24e-88da-41a9-8984-785c53e8c814, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354855, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/mm2.log" vvv +running 1 test +26 12:47:30, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:30, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:30, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:47:30, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:47:30, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") +26 12:47:30, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:30, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.183/tcp/47771 +26 12:47:30, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.183/tcp/47771 +26 12:47:30, libp2p_tcp:476] DEBUG dialing 127.0.0.183:47771 +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:47:30, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:47:30, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:47:30, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-30-030_127.0.0.61/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:47:30, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:30, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:30, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:30, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:47:30, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:47:30, yamux::connection:345] DEBUG new connection: fd855ad6 (Client) +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:30, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.183/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:47:30, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:30, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.183/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 6.753553ms } +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:30, yamux::connection:459] DEBUG fd855ad6: new outbound (Stream fd855ad6/1) of (Connection fd855ad6 Client (streams 0)) +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:30, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:30, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:30, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:30, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:47:30, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:30, yamux::connection:459] DEBUG fd855ad6: new outbound (Stream fd855ad6/3) of (Connection fd855ad6 Client (streams 3)) +26 12:47:30, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 2ms +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:30, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(2.210522ms) })) +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:30, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:30, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:30, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:30 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.61:7783 DEX stats API enabled at unixtime.1727354850 <<<<<<<<< +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:47:32, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:32, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:32, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:32, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:47:32, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:32, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:47:32, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:47:32, yamux::connection:459] DEBUG fd855ad6: new outbound (Stream fd855ad6/5) of (Connection fd855ad6 Client (streams 4)) +26 12:47:32, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:47:32, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:47:32, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:32, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:47:32, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5475e24e-88da-41a9-8984-785c53e8c814, created_at: 1727354850, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:32, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(d7bac2e1911c9c30) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:32, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(d7bac2e1911c9c30) in duplicate_cache and resolve promises +26 12:47:32, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:47:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(d7bac2e1911c9c30), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(1903378388807397441), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:47:32, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5475e24e-88da-41a9-8984-785c53e8c814), timestamp: 1727354852, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:33, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:35, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:47:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:35, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:47:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:35, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:35, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(56dc51eb2de0b633) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:35, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(56dc51eb2de0b633) in duplicate_cache and resolve promises +26 12:47:35, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:47:35, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(56dc51eb2de0b633), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(4689338355875395729), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:47:35, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(5475e24e-88da-41a9-8984-785c53e8c814), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727354850, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727354850, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:47:35, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5475e24e-88da-41a9-8984-785c53e8c814, created_at: 1727354850, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/mm2.log" vvv +running 1 test +26 12:47:27, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:27, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:27, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:47:27, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:47:27, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:47:27, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:27, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:27, libp2p_tcp:450] DEBUG listening on 127.0.0.183:47771 +26 12:47:27, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.183/tcp/47771" +26 12:47:27, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.183/tcp/47771" } +26 12:47:27, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.183/tcp/47771 +26 12:47:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:47:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:47:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-27-434_127.0.0.183/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:47:27, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:27, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:27, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:27, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:27, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:27, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:27, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:27 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.183:7783 DEX stats API enabled at unixtime.1727354847 <<<<<<<<< +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:29, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:47:30, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:47:30, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:30, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:47:30, mm2_main::database::my_orders:45] DEBUG Inserting new order 5475e24e-88da-41a9-8984-785c53e8c814 to the SQLite database +26 12:47:30, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5475e24e-88da-41a9-8984-785c53e8c814, created_at: 1727354850, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:30, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(56dc51eb2de0b633) +26 12:47:30, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:30, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:30, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(56dc51eb2de0b633) +26 12:47:30, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/49618 at /ip4/127.0.0.183/tcp/47771 +26 12:47:30, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49618" } +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:47:30, yamux::connection:345] DEBUG new connection: 9d0cc1a5 (Server) +26 12:47:30, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") Listener { local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49618" }; Total (peer): 1. +26 12:47:30, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF +26 12:47:30, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") +26 12:47:30, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/49618" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.156552ms } +26 12:47:30, yamux::connection:459] DEBUG 9d0cc1a5: new outbound (Stream 9d0cc1a5/2) of (Connection 9d0cc1a5 Server (streams 0)) +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:30, yamux::connection:459] DEBUG 9d0cc1a5: new outbound (Stream 9d0cc1a5/4) of (Connection 9d0cc1a5 Server (streams 1)) +26 12:47:30, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:30, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:30, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF +26 12:47:30, libp2p_ping::handler:298] DEBUG latency to 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF is 0ms +26 12:47:30, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF"), connection: ConnectionId(1), result: Ok(812.369µs) })) +26 12:47:30, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:30, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:30, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF"), is_included: true +26 12:47:30, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") to included_to_relays_mesh +26 12:47:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:47:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:32, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:47:32, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:47:32, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF +26 12:47:32, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:47:32, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") peer +26 12:47:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:47:32, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:47:32, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5475e24e-88da-41a9-8984-785c53e8c814), timestamp: 1727354852, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:32, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(d7bac2e1911c9c30) +26 12:47:32, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(d7bac2e1911c9c30) to peer PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") +26 12:47:32, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:32, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:32, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(d7bac2e1911c9c30) +26 12:47:32, mm2_main::database::my_orders:117] DEBUG Updating order 5475e24e-88da-41a9-8984-785c53e8c814 in the SQLite database +26 12:47:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:33, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:33, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:35, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:35, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:35, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") +26 12:47:35, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF") +26 12:47:35, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWHv3UkaMgVGJVoN17thWBD2Jf8rp8mkQrFNvjskk1UYbF +26 12:47:35, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:47:35, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.13s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:47:50, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/mm2.log +26 12:47:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.165:7783 +26 12:47:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.165:7783 +26 12:47:50, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:51, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:47:51, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.165:7783 +26 12:47:51, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354871692), "updated_at": Number(1727354871692), "matches": Object({}), "started_swaps": Array([]), "uuid": String("ca4b88f7-4085-4286-a142-df8051f673dd"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:47:53, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/mm2.log +26 12:47:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.59:7783 +26 12:47:54, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.59:7783 +26 12:47:53, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:47:54, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:47:54, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.59:7783 +26 12:47:54, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: ca4b88f7-4085-4286-a142-df8051f673dd, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354874, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:54, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"ca4b88f7-4085-4286-a142-df8051f673dd"} to http://127.0.0.165:7783 +26 12:47:54, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:47:57, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:47:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.165:7783 +26 12:47:57, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354877, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:47:57, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:47:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.59:7783 +26 12:47:57, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354877, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/mm2.log" vvv +running 1 test +26 12:47:51, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:51, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:51, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:47:51, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:47:51, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") +26 12:47:51, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:51, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.165/tcp/47771 +26 12:47:51, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.165/tcp/47771 +26 12:47:51, libp2p_tcp:476] DEBUG dialing 127.0.0.165:47771 +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:47:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:47:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:47:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-51-698_127.0.0.59/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:47:51, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:51, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:51, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:51, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:51, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:47:51, yamux::connection:345] DEBUG new connection: 82b3314e (Client) +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:51, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.165/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:51, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.165/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.487858ms } +26 12:47:51, yamux::connection:459] DEBUG 82b3314e: new outbound (Stream 82b3314e/1) of (Connection 82b3314e Client (streams 0)) +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:51, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:51, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:51, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:47:51, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:47:51, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:47:51, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(554.196µs) })) +26 12:47:51, yamux::connection:459] DEBUG 82b3314e: new outbound (Stream 82b3314e/3) of (Connection 82b3314e Client (streams 3)) +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:51, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:51, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:51 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.59:7783 DEX stats API enabled at unixtime.1727354871 <<<<<<<<< +26 12:47:53, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:54, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:54, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:54, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:54, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:47:54, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:54, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:47:54, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:47:54, yamux::connection:459] DEBUG 82b3314e: new outbound (Stream 82b3314e/5) of (Connection 82b3314e Client (streams 4)) +26 12:47:54, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:47:54, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:47:54, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:54, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:47:54, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ca4b88f7-4085-4286-a142-df8051f673dd, created_at: 1727354871, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:54, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(59af555dfac0abb7) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:54, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(59af555dfac0abb7) in duplicate_cache and resolve promises +26 12:47:54, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:47:54, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(59af555dfac0abb7), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(8506670906813319486), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:47:55, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ca4b88f7-4085-4286-a142-df8051f673dd), timestamp: 1727354874, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:55, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:55, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:56, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:47:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:56, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:47:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:56, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:47:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:57, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:47:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:57, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:47:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/mm2.log" vvv +running 1 test +26 12:47:48, mod:26] test_mm_start] Starting the MarketMaker... +26 12:47:48, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:47:48, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:47:48, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:47:48, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:47:48, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:47:48, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:47:48, libp2p_tcp:450] DEBUG listening on 127.0.0.165:47771 +26 12:47:48, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.165/tcp/47771" +26 12:47:48, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.165/tcp/47771" } +26 12:47:48, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.165/tcp/47771 +26 12:47:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:47:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:47:48, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-47-48-115_127.0.0.165/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:47:48, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:47:48, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:47:48, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:47:48, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:47:48, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:47:48, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:47:48, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:47:48, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:47:48 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.165:7783 DEX stats API enabled at unixtime.1727354868 <<<<<<<<< +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:47:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:47:51, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:47:51, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:47:51, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:47:51, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:47:51, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:47:51, mm2_main::database::my_orders:45] DEBUG Inserting new order ca4b88f7-4085-4286-a142-df8051f673dd to the SQLite database +26 12:47:51, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ca4b88f7-4085-4286-a142-df8051f673dd, created_at: 1727354871, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:47:51, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(8196c187e3f6fac9) +26 12:47:51, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:51, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:51, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(8196c187e3f6fac9) +26 12:47:51, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/47246 at /ip4/127.0.0.165/tcp/47771 +26 12:47:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.165/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47246" } +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:47:51, yamux::connection:345] DEBUG new connection: 604f79df (Server) +26 12:47:51, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") Listener { local_addr: "/ip4/127.0.0.165/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47246" }; Total (peer): 1. +26 12:47:51, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd +26 12:47:51, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") +26 12:47:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.165/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/47246" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.011288ms } +26 12:47:51, yamux::connection:459] DEBUG 604f79df: new outbound (Stream 604f79df/2) of (Connection 604f79df Server (streams 0)) +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:47:51, yamux::connection:459] DEBUG 604f79df: new outbound (Stream 604f79df/4) of (Connection 604f79df Server (streams 2)) +26 12:47:51, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:47:51, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:47:51, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd +26 12:47:51, libp2p_ping::handler:298] DEBUG latency to 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd is 0ms +26 12:47:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd"), connection: ConnectionId(1), result: Ok(600.966µs) })) +26 12:47:51, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:47:51, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:47:51, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd"), is_included: true +26 12:47:51, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") to included_to_relays_mesh +26 12:47:53, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:53, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:53, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:47:53, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:54, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:54, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:54, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:54, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:47:54, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:54, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:47:54, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:47:54, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd +26 12:47:54, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:47:54, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:47:54, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") peer +26 12:47:54, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:47:54, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:47:54, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ca4b88f7-4085-4286-a142-df8051f673dd), timestamp: 1727354874, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:47:54, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(59af555dfac0abb7) +26 12:47:54, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(59af555dfac0abb7) to peer PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") +26 12:47:54, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:47:54, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:47:54, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(59af555dfac0abb7) +26 12:47:54, mm2_main::database::my_orders:117] DEBUG Updating order ca4b88f7-4085-4286-a142-df8051f673dd in the SQLite database +26 12:47:55, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:55, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:55, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:55, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:56, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:56, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:47:57, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:47:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:47:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:47:57, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:47:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:47:57, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd") +26 12:47:57, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWDei1yFUHtB9GaDa2bis8Bh4anm6iR6aKSHUCgKSKiGsd +26 12:47:57, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:47:57, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.88s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:48:02, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/mm2.log +26 12:48:02, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.199:7783 +26 12:48:02, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.199:7783 +26 12:48:02, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:03, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:48:03, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.199:7783 +26 12:48:03, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354883735), "updated_at": Number(1727354883735), "matches": Object({}), "started_swaps": Array([]), "uuid": String("993e76d6-4469-4b20-be84-05678fbaf3e4"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:48:05, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/mm2.log +26 12:48:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.19:7783 +26 12:48:06, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.19:7783 +26 12:48:05, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:07, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:48:07, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.19:7783 +26 12:48:07, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 993e76d6-4469-4b20-be84-05678fbaf3e4, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354887, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:07, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"993e76d6-4469-4b20-be84-05678fbaf3e4"} to http://127.0.0.199:7783 +26 12:48:07, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:48:10, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:48:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.199:7783 +26 12:48:10, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354890, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:10, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:48:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.19:7783 +26 12:48:10, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354890, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/mm2.log" vvv +running 1 test +26 12:48:03, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:03, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:03, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:48:03, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:48:03, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") +26 12:48:03, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:03, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.199/tcp/47771 +26 12:48:03, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.199/tcp/47771 +26 12:48:03, libp2p_tcp:476] DEBUG dialing 127.0.0.199:47771 +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:48:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:48:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:48:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-03-740_127.0.0.19/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:48:03, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:03, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:03, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:03, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:03, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:03, yamux::connection:345] DEBUG new connection: 0d1ee877 (Client) +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:03, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.199/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:48:03, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.199/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.554005ms } +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:03, yamux::connection:459] DEBUG 0d1ee877: new outbound (Stream 0d1ee877/1) of (Connection 0d1ee877 Client (streams 0)) +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:03, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:03, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:48:03, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:03, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:03, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:48:03, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(394.344µs) })) +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:03, yamux::connection:459] DEBUG 0d1ee877: new outbound (Stream 0d1ee877/3) of (Connection 0d1ee877 Client (streams 3)) +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:03, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:03, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:03 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.19:7783 DEX stats API enabled at unixtime.1727354883 <<<<<<<<< +26 12:48:05, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:07, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:07, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:07, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:07, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:48:07, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:07, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:48:07, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:48:07, yamux::connection:459] DEBUG 0d1ee877: new outbound (Stream 0d1ee877/5) of (Connection 0d1ee877 Client (streams 4)) +26 12:48:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:48:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:48:07, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:07, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:48:07, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 993e76d6-4469-4b20-be84-05678fbaf3e4, created_at: 1727354883, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:07, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(e6ccaec4c3768842) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:07, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(e6ccaec4c3768842) in duplicate_cache and resolve promises +26 12:48:07, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:48:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(e6ccaec4c3768842), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(7901457789534110298), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:48:07, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(993e76d6-4469-4b20-be84-05678fbaf3e4), timestamp: 1727354887, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:08, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:08, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:09, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:09, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/mm2.log" vvv +running 1 test +26 12:48:00, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:00, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:00, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:48:00, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:48:00, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:48:00, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:00, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:00, libp2p_tcp:450] DEBUG listening on 127.0.0.199:47771 +26 12:48:00, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.199/tcp/47771" +26 12:48:00, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.199/tcp/47771" } +26 12:48:00, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.199/tcp/47771 +26 12:48:00, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:48:00, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:48:00, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-00-014_127.0.0.199/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:48:00, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:00, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:00, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:00, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:00, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:00, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:00, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:00, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:00 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.199:7783 DEX stats API enabled at unixtime.1727354880 <<<<<<<<< +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:02, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:03, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:03, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:03, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:48:03, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:03, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:48:03, mm2_main::database::my_orders:45] DEBUG Inserting new order 993e76d6-4469-4b20-be84-05678fbaf3e4 to the SQLite database +26 12:48:03, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 993e76d6-4469-4b20-be84-05678fbaf3e4, created_at: 1727354883, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:03, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(f32a9af0a0fa830b) +26 12:48:03, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:03, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:03, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:03, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(f32a9af0a0fa830b) +26 12:48:03, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/60632 at /ip4/127.0.0.199/tcp/47771 +26 12:48:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60632" } +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:48:03, yamux::connection:345] DEBUG new connection: 1f0d0539 (Server) +26 12:48:03, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") Listener { local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60632" }; Total (peer): 1. +26 12:48:03, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna +26 12:48:03, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") +26 12:48:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.199/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60632" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.993199ms } +26 12:48:03, yamux::connection:459] DEBUG 1f0d0539: new outbound (Stream 1f0d0539/2) of (Connection 1f0d0539 Server (streams 0)) +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:03, yamux::connection:459] DEBUG 1f0d0539: new outbound (Stream 1f0d0539/4) of (Connection 1f0d0539 Server (streams 1)) +26 12:48:03, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:03, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:03, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna +26 12:48:03, libp2p_ping::handler:298] DEBUG latency to 12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna is 0ms +26 12:48:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna"), connection: ConnectionId(1), result: Ok(464.219µs) })) +26 12:48:03, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:03, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:03, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna"), is_included: true +26 12:48:03, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") to included_to_relays_mesh +26 12:48:05, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:05, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:05, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:05, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:05, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:06, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:06, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:06, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:06, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:07, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:07, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna +26 12:48:07, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:48:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:48:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:48:07, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") peer +26 12:48:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:48:07, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:48:07, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(993e76d6-4469-4b20-be84-05678fbaf3e4), timestamp: 1727354887, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:07, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(e6ccaec4c3768842) +26 12:48:07, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(e6ccaec4c3768842) to peer PeerId("12D3KooWQFvFSu9yhkjyPyqEaJ5Kp75rLZpDv8tRxQL2mUwhGDna") +26 12:48:07, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:07, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:07, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(e6ccaec4c3768842) +26 12:48:07, mm2_main::database::my_orders:117] DEBUG Updating order 993e76d6-4469-4b20-be84-05678fbaf3e4 in the SQLite database +26 12:48:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:09, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:09, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:10, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:10, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:10, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:48:10, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:48:10, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:48:10, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.33s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:48:14, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/mm2.log +26 12:48:14, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.105:7783 +26 12:48:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.105:7783 +26 12:48:14, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:15, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:48:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.105:7783 +26 12:48:15, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354895848), "updated_at": Number(1727354895848), "matches": Object({}), "started_swaps": Array([]), "uuid": String("5303e887-5c1e-461b-8d34-733cbf14e658"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:48:17, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/mm2.log +26 12:48:17, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.87:7783 +26 12:48:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.87:7783 +26 12:48:17, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:19, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:48:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.87:7783 +26 12:48:19, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 5303e887-5c1e-461b-8d34-733cbf14e658, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354899, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"5303e887-5c1e-461b-8d34-733cbf14e658"} to http://127.0.0.105:7783 +26 12:48:19, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:48:22, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:48:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.105:7783 +26 12:48:22, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354902, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:22, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:48:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.87:7783 +26 12:48:22, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354902, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/mm2.log" vvv +running 1 test +26 12:48:15, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:15, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:15, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:48:15, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:48:15, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") +26 12:48:15, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:15, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.105/tcp/47771 +26 12:48:15, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.105/tcp/47771 +26 12:48:15, libp2p_tcp:476] DEBUG dialing 127.0.0.105:47771 +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:48:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:48:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:48:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-15-852_127.0.0.87/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:48:15, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:15, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:15, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:15, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:15, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:48:15, yamux::connection:345] DEBUG new connection: af3fae2d (Client) +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:15, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.105/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:15, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.105/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 6.234858ms } +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:15, yamux::connection:459] DEBUG af3fae2d: new outbound (Stream af3fae2d/1) of (Connection af3fae2d Client (streams 0)) +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:15, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:15, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:48:15, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:15, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:48:15, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:15, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(563.472µs) })) +26 12:48:15, yamux::connection:459] DEBUG af3fae2d: new outbound (Stream af3fae2d/3) of (Connection af3fae2d Client (streams 3)) +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:15, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:15, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:15 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.87:7783 DEX stats API enabled at unixtime.1727354895 <<<<<<<<< +26 12:48:17, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:19, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:19, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:19, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:19, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:48:19, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:19, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:48:19, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:48:19, yamux::connection:459] DEBUG af3fae2d: new outbound (Stream af3fae2d/5) of (Connection af3fae2d Client (streams 4)) +26 12:48:19, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:48:19, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:48:19, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:19, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:48:19, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5303e887-5c1e-461b-8d34-733cbf14e658, created_at: 1727354895, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:19, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(73ef5c8eeee55057) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:19, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(73ef5c8eeee55057) in duplicate_cache and resolve promises +26 12:48:19, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:48:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(73ef5c8eeee55057), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(11837537484017036161), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:48:19, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5303e887-5c1e-461b-8d34-733cbf14e658), timestamp: 1727354899, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:20, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:20, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:21, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:21, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/mm2.log" vvv +running 1 test +26 12:48:12, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:12, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:12, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:48:12, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:48:12, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:48:12, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:12, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:12, libp2p_tcp:450] DEBUG listening on 127.0.0.105:47771 +26 12:48:12, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.105/tcp/47771" +26 12:48:12, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.105/tcp/47771" } +26 12:48:12, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.105/tcp/47771 +26 12:48:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:48:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:48:12, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-12-313_127.0.0.105/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:48:12, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:12, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:12, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:12, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:12, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:12, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:12, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:12, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:12 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.105:7783 DEX stats API enabled at unixtime.1727354892 <<<<<<<<< +26 12:48:14, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:14, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:14, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:15, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:15, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:48:15, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:15, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:48:15, mm2_main::database::my_orders:45] DEBUG Inserting new order 5303e887-5c1e-461b-8d34-733cbf14e658 to the SQLite database +26 12:48:15, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 5303e887-5c1e-461b-8d34-733cbf14e658, created_at: 1727354895, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:15, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(1e5d55dd069f247a) +26 12:48:15, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:15, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:15, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(1e5d55dd069f247a) +26 12:48:15, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/35490 at /ip4/127.0.0.105/tcp/47771 +26 12:48:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.105/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35490" } +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:48:15, yamux::connection:345] DEBUG new connection: bee925df (Server) +26 12:48:15, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") Listener { local_addr: "/ip4/127.0.0.105/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35490" }; Total (peer): 1. +26 12:48:15, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD +26 12:48:15, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") +26 12:48:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.105/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35490" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.66129ms } +26 12:48:15, yamux::connection:459] DEBUG bee925df: new outbound (Stream bee925df/2) of (Connection bee925df Server (streams 0)) +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:15, yamux::connection:459] DEBUG bee925df: new outbound (Stream bee925df/4) of (Connection bee925df Server (streams 2)) +26 12:48:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:15, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD +26 12:48:15, libp2p_ping::handler:298] DEBUG latency to 12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD is 0ms +26 12:48:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD"), connection: ConnectionId(1), result: Ok(697.639µs) })) +26 12:48:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:15, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD"), is_included: true +26 12:48:15, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") to included_to_relays_mesh +26 12:48:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:17, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:19, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:19, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD +26 12:48:19, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:19, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:48:19, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:48:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:48:19, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") peer +26 12:48:19, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:48:19, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:48:19, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(5303e887-5c1e-461b-8d34-733cbf14e658), timestamp: 1727354899, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:19, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(73ef5c8eeee55057) +26 12:48:19, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(73ef5c8eeee55057) to peer PeerId("12D3KooWGtmdhFkCcncfHQ6rURmM2Mt93QpdozD8aVe2rQr5vqCD") +26 12:48:19, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:19, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:19, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(73ef5c8eeee55057) +26 12:48:19, mm2_main::database::my_orders:117] DEBUG Updating order 5303e887-5c1e-461b-8d34-733cbf14e658 in the SQLite database +26 12:48:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:21, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:22, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:48:22, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:48:22, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:48:22, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.07s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:48:26, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/mm2.log +26 12:48:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.108:7783 +26 12:48:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.108:7783 +26 12:48:26, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:28, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:48:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.108:7783 +26 12:48:28, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354908782), "updated_at": Number(1727354908782), "matches": Object({}), "started_swaps": Array([]), "uuid": String("363fb726-764b-4a58-acc3-dbc4e966730f"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:48:30, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/mm2.log +26 12:48:30, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.197:7783 +26 12:48:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.197:7783 +26 12:48:30, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:32, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:48:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.197:7783 +26 12:48:32, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 363fb726-764b-4a58-acc3-dbc4e966730f, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354912, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:32, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"363fb726-764b-4a58-acc3-dbc4e966730f"} to http://127.0.0.108:7783 +26 12:48:32, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:48:35, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:48:35, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.108:7783 +26 12:48:35, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354915, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:35, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:48:35, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.197:7783 +26 12:48:35, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354915, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/mm2.log" vvv +running 1 test +26 12:48:28, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:28, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:28, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:48:28, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:48:28, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") +26 12:48:28, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:28, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.108/tcp/47771 +26 12:48:28, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.108/tcp/47771 +26 12:48:28, libp2p_tcp:476] DEBUG dialing 127.0.0.108:47771 +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:48:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:48:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:48:28, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-28-788_127.0.0.197/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:48:28, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:28, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:28, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:28, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:28, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:48:28, yamux::connection:345] DEBUG new connection: eb43145f (Client) +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:28, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.108/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:48:28, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.108/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.248577ms } +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:28, yamux::connection:459] DEBUG eb43145f: new outbound (Stream eb43145f/1) of (Connection eb43145f Client (streams 0)) +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:28, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:28, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:48:28, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:28, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:48:28, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:28, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(293.608µs) })) +26 12:48:28, yamux::connection:459] DEBUG eb43145f: new outbound (Stream eb43145f/3) of (Connection eb43145f Client (streams 3)) +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:28, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:28, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:28, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:28 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.197:7783 DEX stats API enabled at unixtime.1727354908 <<<<<<<<< +26 12:48:30, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:32, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:32, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:32, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:32, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:32, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:32, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:48:32, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:32, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:48:32, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:48:32, yamux::connection:459] DEBUG eb43145f: new outbound (Stream eb43145f/5) of (Connection eb43145f Client (streams 4)) +26 12:48:32, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:48:32, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:48:32, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:32, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:48:32, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 363fb726-764b-4a58-acc3-dbc4e966730f, created_at: 1727354908, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:32, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(48862606779bf3c3) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:32, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(48862606779bf3c3) in duplicate_cache and resolve promises +26 12:48:32, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:48:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(48862606779bf3c3), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(11473761770499175767), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:48:32, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(363fb726-764b-4a58-acc3-dbc4e966730f), timestamp: 1727354912, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:33, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:33, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:34, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:34, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/mm2.log" vvv +running 1 test +26 12:48:24, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:24, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:24, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:48:24, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:48:24, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:48:24, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:24, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:24, libp2p_tcp:450] DEBUG listening on 127.0.0.108:47771 +26 12:48:24, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.108/tcp/47771" +26 12:48:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.108/tcp/47771" } +26 12:48:24, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.108/tcp/47771 +26 12:48:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:48:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:48:24, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-24-680_127.0.0.108/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:48:24, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:24, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:24, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:24, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:24, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:24, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:24, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:24, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:24 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.108:7783 DEX stats API enabled at unixtime.1727354904 <<<<<<<<< +26 12:48:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:27, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:27, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:27, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:28, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:48:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:28, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:48:28, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:28, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:48:28, mm2_main::database::my_orders:45] DEBUG Inserting new order 363fb726-764b-4a58-acc3-dbc4e966730f to the SQLite database +26 12:48:28, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 363fb726-764b-4a58-acc3-dbc4e966730f, created_at: 1727354908, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:28, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(64731606fbcb018c) +26 12:48:28, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:28, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:28, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(64731606fbcb018c) +26 12:48:28, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/50092 at /ip4/127.0.0.108/tcp/47771 +26 12:48:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.108/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50092" } +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:48:28, yamux::connection:345] DEBUG new connection: e2403ff8 (Server) +26 12:48:28, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") Listener { local_addr: "/ip4/127.0.0.108/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50092" }; Total (peer): 1. +26 12:48:28, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7 +26 12:48:28, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") +26 12:48:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.108/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/50092" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.825955ms } +26 12:48:28, yamux::connection:459] DEBUG e2403ff8: new outbound (Stream e2403ff8/2) of (Connection e2403ff8 Server (streams 0)) +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:28, yamux::connection:459] DEBUG e2403ff8: new outbound (Stream e2403ff8/4) of (Connection e2403ff8 Server (streams 2)) +26 12:48:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:28, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7 +26 12:48:28, libp2p_ping::handler:298] DEBUG latency to 12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7 is 0ms +26 12:48:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7"), connection: ConnectionId(1), result: Ok(538.783µs) })) +26 12:48:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:28, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7"), is_included: true +26 12:48:28, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") to included_to_relays_mesh +26 12:48:29, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:29, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:29, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:29, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:30, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:30, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:32, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:48:32, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:48:32, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7 +26 12:48:32, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:48:32, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") peer +26 12:48:32, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:48:32, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:48:32, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(363fb726-764b-4a58-acc3-dbc4e966730f), timestamp: 1727354912, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:32, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(48862606779bf3c3) +26 12:48:32, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(48862606779bf3c3) to peer PeerId("12D3KooWP7s24GwbsZgFt5F1hnXPtN3EpSHnGwmru5zec5Wyx2t7") +26 12:48:32, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:32, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:32, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(48862606779bf3c3) +26 12:48:32, mm2_main::database::my_orders:117] DEBUG Updating order 363fb726-764b-4a58-acc3-dbc4e966730f in the SQLite database +26 12:48:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:33, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:33, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:34, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:48:34, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:48:35, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:48:35, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.55s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:48:39, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/mm2.log +26 12:48:39, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.81:7783 +26 12:48:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.81:7783 +26 12:48:39, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:40, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:48:40, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.81:7783 +26 12:48:41, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354921121), "updated_at": Number(1727354921121), "matches": Object({}), "started_swaps": Array([]), "uuid": String("6d334a40-90c4-47cc-b5f7-7ccc0d1e941e"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:48:43, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/mm2.log +26 12:48:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.63:7783 +26 12:48:43, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.63:7783 +26 12:48:43, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:44, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:48:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.63:7783 +26 12:48:44, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 6d334a40-90c4-47cc-b5f7-7ccc0d1e941e, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354924, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:44, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"6d334a40-90c4-47cc-b5f7-7ccc0d1e941e"} to http://127.0.0.81:7783 +26 12:48:44, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:48:47, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:48:47, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.81:7783 +26 12:48:47, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354927, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:47, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:48:47, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.63:7783 +26 12:48:47, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354927, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/mm2.log" vvv +running 1 test +26 12:48:41, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:41, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:41, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:48:41, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:48:41, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") +26 12:48:41, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:41, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.81/tcp/47771 +26 12:48:41, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.81/tcp/47771 +26 12:48:41, libp2p_tcp:476] DEBUG dialing 127.0.0.81:47771 +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:48:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:48:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:48:41, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-41-131_127.0.0.63/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:48:41, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:41, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:41, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:41, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:41, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:48:41, yamux::connection:345] DEBUG new connection: 94acee8a (Client) +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:41, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.81/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:41, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.81/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.562865ms } +26 12:48:41, yamux::connection:459] DEBUG 94acee8a: new outbound (Stream 94acee8a/1) of (Connection 94acee8a Client (streams 0)) +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:41, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:41, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:48:41, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:41, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:41, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:48:41, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(363.96µs) })) +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:41, yamux::connection:459] DEBUG 94acee8a: new outbound (Stream 94acee8a/3) of (Connection 94acee8a Client (streams 3)) +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:41, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:41, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:41, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:41 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.63:7783 DEX stats API enabled at unixtime.1727354921 <<<<<<<<< +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:43, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:44, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:44, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:44, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:44, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:48:44, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:44, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:48:44, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:48:44, yamux::connection:459] DEBUG 94acee8a: new outbound (Stream 94acee8a/5) of (Connection 94acee8a Client (streams 4)) +26 12:48:44, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:48:44, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:48:44, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:44, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:48:44, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 6d334a40-90c4-47cc-b5f7-7ccc0d1e941e, created_at: 1727354921, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:44, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(fce295f6fddac7b4) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:44, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(fce295f6fddac7b4) in duplicate_cache and resolve promises +26 12:48:44, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:48:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(fce295f6fddac7b4), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(1237586427456034143), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:48:44, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(6d334a40-90c4-47cc-b5f7-7ccc0d1e941e), timestamp: 1727354924, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:44, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:45, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:46, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:46, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:47, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:47, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:47, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:47, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/mm2.log" vvv +running 1 test +26 12:48:37, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:37, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:37, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:48:37, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:48:37, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:48:37, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:37, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:37, libp2p_tcp:450] DEBUG listening on 127.0.0.81:47771 +26 12:48:37, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.81/tcp/47771" +26 12:48:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.81/tcp/47771" } +26 12:48:37, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.81/tcp/47771 +26 12:48:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:48:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:48:37, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-37-446_127.0.0.81/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:48:37, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:37, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:37, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:37, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:37, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:37, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:37, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:37, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:37 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.81:7783 DEX stats API enabled at unixtime.1727354917 <<<<<<<<< +26 12:48:39, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:39, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:39, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:48:40, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:48:40, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:48:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:41, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:48:41, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:41, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:48:41, mm2_main::database::my_orders:45] DEBUG Inserting new order 6d334a40-90c4-47cc-b5f7-7ccc0d1e941e to the SQLite database +26 12:48:41, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 6d334a40-90c4-47cc-b5f7-7ccc0d1e941e, created_at: 1727354921, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:41, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(14ed73560ee9c64a) +26 12:48:41, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:41, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:41, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:41, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(14ed73560ee9c64a) +26 12:48:41, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/53854 at /ip4/127.0.0.81/tcp/47771 +26 12:48:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.81/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53854" } +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:48:41, yamux::connection:345] DEBUG new connection: 59b9b512 (Server) +26 12:48:41, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") Listener { local_addr: "/ip4/127.0.0.81/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53854" }; Total (peer): 1. +26 12:48:41, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx +26 12:48:41, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") +26 12:48:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.81/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53854" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.074661ms } +26 12:48:41, yamux::connection:459] DEBUG 59b9b512: new outbound (Stream 59b9b512/2) of (Connection 59b9b512 Server (streams 0)) +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:41, yamux::connection:459] DEBUG 59b9b512: new outbound (Stream 59b9b512/4) of (Connection 59b9b512 Server (streams 2)) +26 12:48:41, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:41, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:41, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx +26 12:48:41, libp2p_ping::handler:298] DEBUG latency to 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx is 0ms +26 12:48:41, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx"), connection: ConnectionId(1), result: Ok(457.071µs) })) +26 12:48:41, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:41, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:41, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx"), is_included: true +26 12:48:41, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") to included_to_relays_mesh +26 12:48:42, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:42, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:42, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:42, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:43, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:43, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:43, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:43, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:43, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:44, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:48:44, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:48:44, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx +26 12:48:44, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:48:44, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") peer +26 12:48:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:48:44, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:48:44, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(6d334a40-90c4-47cc-b5f7-7ccc0d1e941e), timestamp: 1727354924, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:44, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(fce295f6fddac7b4) +26 12:48:44, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(fce295f6fddac7b4) to peer PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") +26 12:48:44, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:44, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:44, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(fce295f6fddac7b4) +26 12:48:44, mm2_main::database::my_orders:117] DEBUG Updating order 6d334a40-90c4-47cc-b5f7-7ccc0d1e941e in the SQLite database +26 12:48:44, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:44, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:44, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:44, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:45, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:45, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:45, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:45, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:46, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:46, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:46, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx") +26 12:48:46, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWK4ZmuLMNsr2uroCqf4dU9Vqwx8QV9jnQo45moQoy2Anx +26 12:48:47, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:48:47, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.97s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:48:52, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/mm2.log +26 12:48:52, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.36:7783 +26 12:48:52, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.36:7783 +26 12:48:52, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:53, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:48:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.36:7783 +26 12:48:53, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354933852), "updated_at": Number(1727354933852), "matches": Object({}), "started_swaps": Array([]), "uuid": String("4b409b1b-7027-4be4-8103-85a5ee29ef93"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:48:55, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/mm2.log +26 12:48:55, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.203:7783 +26 12:48:56, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.203:7783 +26 12:48:55, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:48:57, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:48:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.203:7783 +26 12:48:57, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 4b409b1b-7027-4be4-8103-85a5ee29ef93, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354937, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:48:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"4b409b1b-7027-4be4-8103-85a5ee29ef93"} to http://127.0.0.36:7783 +26 12:48:57, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:49:00, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:49:00, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.36:7783 +26 12:49:00, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354940, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:00, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:49:00, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.203:7783 +26 12:49:00, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354940, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/mm2.log" vvv +running 1 test +26 12:48:53, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:53, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:53, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:48:53, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:48:53, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") +26 12:48:53, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:53, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.36/tcp/47771 +26 12:48:53, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.36/tcp/47771 +26 12:48:53, libp2p_tcp:476] DEBUG dialing 127.0.0.36:47771 +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:48:53, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:48:53, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:48:53, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-53-857_127.0.0.203/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:48:53, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:53, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:53, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:53, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:53, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:53, yamux::connection:345] DEBUG new connection: 64fed727 (Client) +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:53, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.36/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:48:53, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.36/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.911742ms } +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:53, yamux::connection:459] DEBUG 64fed727: new outbound (Stream 64fed727/1) of (Connection 64fed727 Client (streams 1)) +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:53, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:53, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:53, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:53, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:53, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:48:53, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(865.866µs) })) +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:53, yamux::connection:459] DEBUG 64fed727: new outbound (Stream 64fed727/3) of (Connection 64fed727 Client (streams 3)) +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:53, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:53, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:53, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:53 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.203:7783 DEX stats API enabled at unixtime.1727354933 <<<<<<<<< +26 12:48:55, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:56, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:57, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:57, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:57, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:57, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:48:57, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:57, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:48:57, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:48:57, yamux::connection:459] DEBUG 64fed727: new outbound (Stream 64fed727/5) of (Connection 64fed727 Client (streams 4)) +26 12:48:57, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:48:57, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:48:57, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:57, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:48:57, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4b409b1b-7027-4be4-8103-85a5ee29ef93, created_at: 1727354933, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:57, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(0d1d4303b80840df) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:48:57, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(0d1d4303b80840df) in duplicate_cache and resolve promises +26 12:48:57, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:48:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(0d1d4303b80840df), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6352841405358996792), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:48:57, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4b409b1b-7027-4be4-8103-85a5ee29ef93), timestamp: 1727354937, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:58, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:58, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:58, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:58, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:59, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:59, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:48:59, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:59, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:48:59, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/mm2.log" vvv +running 1 test +26 12:48:50, mod:26] test_mm_start] Starting the MarketMaker... +26 12:48:50, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:48:50, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:48:50, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:48:50, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:48:50, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:48:50, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:48:50, libp2p_tcp:450] DEBUG listening on 127.0.0.36:47771 +26 12:48:50, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.36/tcp/47771" +26 12:48:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.36/tcp/47771" } +26 12:48:50, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.36/tcp/47771 +26 12:48:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:48:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:48:50, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-48-50-096_127.0.0.36/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:48:50, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:48:50, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:48:50, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:48:50, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:48:50, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:48:50, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:48:50, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:48:50, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:48:50 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.36:7783 DEX stats API enabled at unixtime.1727354930 <<<<<<<<< +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:48:52, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:48:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:48:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:48:53, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:48:53, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:48:53, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:48:53, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:48:53, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:48:53, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:48:53, mm2_main::database::my_orders:45] DEBUG Inserting new order 4b409b1b-7027-4be4-8103-85a5ee29ef93 to the SQLite database +26 12:48:53, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4b409b1b-7027-4be4-8103-85a5ee29ef93, created_at: 1727354933, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:48:53, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(091c2fcd7582542e) +26 12:48:53, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:53, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:53, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(091c2fcd7582542e) +26 12:48:53, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/41500 at /ip4/127.0.0.36/tcp/47771 +26 12:48:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.36/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/41500" } +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:48:53, yamux::connection:345] DEBUG new connection: d7c16c7e (Server) +26 12:48:53, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") Listener { local_addr: "/ip4/127.0.0.36/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/41500" }; Total (peer): 1. +26 12:48:53, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m +26 12:48:53, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") +26 12:48:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.36/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/41500" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.408909ms } +26 12:48:53, yamux::connection:459] DEBUG d7c16c7e: new outbound (Stream d7c16c7e/2) of (Connection d7c16c7e Server (streams 0)) +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:48:53, yamux::connection:459] DEBUG d7c16c7e: new outbound (Stream d7c16c7e/4) of (Connection d7c16c7e Server (streams 1)) +26 12:48:53, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:48:53, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:48:53, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m +26 12:48:53, libp2p_ping::handler:298] DEBUG latency to 12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m is 0ms +26 12:48:53, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m"), connection: ConnectionId(1), result: Ok(686.483µs) })) +26 12:48:53, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:48:53, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:48:53, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m"), is_included: true +26 12:48:53, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") to included_to_relays_mesh +26 12:48:55, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:55, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:55, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:55, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:56, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:56, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:57, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:57, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:48:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:57, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m +26 12:48:57, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:48:57, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:48:57, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:48:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:48:57, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") peer +26 12:48:57, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:48:57, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:48:57, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4b409b1b-7027-4be4-8103-85a5ee29ef93), timestamp: 1727354937, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:48:57, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(0d1d4303b80840df) +26 12:48:57, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(0d1d4303b80840df) to peer PeerId("12D3KooWNceae6UwxrbM9RLFqvDGtqMCSt1CJjqqDMFwhB2e3U1m") +26 12:48:57, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:48:57, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:48:57, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(0d1d4303b80840df) +26 12:48:57, mm2_main::database::my_orders:117] DEBUG Updating order 4b409b1b-7027-4be4-8103-85a5ee29ef93 in the SQLite database +26 12:48:58, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:58, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:58, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:58, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:48:59, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:48:59, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:48:59, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:48:59, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:48:59, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:48:59, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:00, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:00, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:00, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:00, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:00, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:00, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:00, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:49:00, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:49:00, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:49:00, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.10s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:49:04, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/mm2.log +26 12:49:04, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.6:7783 +26 12:49:04, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.6:7783 +26 12:49:04, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:05, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:49:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.6:7783 +26 12:49:06, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354946178), "updated_at": Number(1727354946178), "matches": Object({}), "started_swaps": Array([]), "uuid": String("511cdb9e-4e97-43c2-a348-9a69ff860037"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:49:08, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/mm2.log +26 12:49:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.216:7783 +26 12:49:08, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.216:7783 +26 12:49:08, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:09, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:49:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.216:7783 +26 12:49:09, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 511cdb9e-4e97-43c2-a348-9a69ff860037, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354949, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"511cdb9e-4e97-43c2-a348-9a69ff860037"} to http://127.0.0.6:7783 +26 12:49:09, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:49:12, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:49:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.6:7783 +26 12:49:12, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354952, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:12, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:49:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.216:7783 +26 12:49:12, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354952, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/mm2.log" vvv +running 1 test +26 12:49:06, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:06, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:06, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:49:06, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:49:06, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") +26 12:49:06, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:06, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.6/tcp/47771 +26 12:49:06, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.6/tcp/47771 +26 12:49:06, libp2p_tcp:476] DEBUG dialing 127.0.0.6:47771 +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:49:06, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:49:06, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:49:06, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-06-186_127.0.0.216/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:49:06, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:06, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:06, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:06, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:06, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:49:06, yamux::connection:345] DEBUG new connection: 2926d5c5 (Client) +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:06, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.6/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:06, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.6/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.56859ms } +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:06, yamux::connection:459] DEBUG 2926d5c5: new outbound (Stream 2926d5c5/1) of (Connection 2926d5c5 Client (streams 0)) +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:06, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:06, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:06, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:49:06, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:49:06, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:49:06, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(387.671µs) })) +26 12:49:06, yamux::connection:459] DEBUG 2926d5c5: new outbound (Stream 2926d5c5/3) of (Connection 2926d5c5 Client (streams 3)) +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:06, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:06, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:06, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:06 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.216:7783 DEX stats API enabled at unixtime.1727354946 <<<<<<<<< +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:08, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:09, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:09, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:09, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:09, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:49:09, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:09, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:49:09, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:49:09, yamux::connection:459] DEBUG 2926d5c5: new outbound (Stream 2926d5c5/5) of (Connection 2926d5c5 Client (streams 4)) +26 12:49:09, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:49:09, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:49:09, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:09, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:49:09, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 511cdb9e-4e97-43c2-a348-9a69ff860037, created_at: 1727354946, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:09, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(06baa9bea8872850) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:09, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(06baa9bea8872850) in duplicate_cache and resolve promises +26 12:49:09, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:49:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(06baa9bea8872850), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(12728669255434011167), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:49:09, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(511cdb9e-4e97-43c2-a348-9a69ff860037), timestamp: 1727354949, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:11, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:11, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:12, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:12, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/mm2.log" vvv +running 1 test +26 12:49:02, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:02, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:02, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:49:02, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:49:02, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:49:02, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:02, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:02, libp2p_tcp:450] DEBUG listening on 127.0.0.6:47771 +26 12:49:02, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.6/tcp/47771" +26 12:49:02, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.6/tcp/47771" } +26 12:49:02, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.6/tcp/47771 +26 12:49:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:49:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:49:02, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-02-248_127.0.0.6/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:49:02, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:02, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:02, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:02, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:02, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:02, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:02, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:02, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:02 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.6:7783 DEX stats API enabled at unixtime.1727354942 <<<<<<<<< +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:04, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:05, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:49:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:06, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:49:06, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:06, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:49:06, mm2_main::database::my_orders:45] DEBUG Inserting new order 511cdb9e-4e97-43c2-a348-9a69ff860037 to the SQLite database +26 12:49:06, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 511cdb9e-4e97-43c2-a348-9a69ff860037, created_at: 1727354946, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:06, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(f0e5d1d2f8b58f5c) +26 12:49:06, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:06, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:06, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:06, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(f0e5d1d2f8b58f5c) +26 12:49:06, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/52282 at /ip4/127.0.0.6/tcp/47771 +26 12:49:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.6/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52282" } +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:49:06, yamux::connection:345] DEBUG new connection: aac2d7d2 (Server) +26 12:49:06, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") Listener { local_addr: "/ip4/127.0.0.6/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52282" }; Total (peer): 1. +26 12:49:06, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax +26 12:49:06, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") +26 12:49:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.6/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52282" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.979792ms } +26 12:49:06, yamux::connection:459] DEBUG aac2d7d2: new outbound (Stream aac2d7d2/2) of (Connection aac2d7d2 Server (streams 0)) +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:06, yamux::connection:459] DEBUG aac2d7d2: new outbound (Stream aac2d7d2/4) of (Connection aac2d7d2 Server (streams 2)) +26 12:49:06, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:06, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:06, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax +26 12:49:06, libp2p_ping::handler:298] DEBUG latency to 12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax is 0ms +26 12:49:06, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax"), connection: ConnectionId(1), result: Ok(454.09µs) })) +26 12:49:06, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:06, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:06, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax"), is_included: true +26 12:49:06, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") to included_to_relays_mesh +26 12:49:07, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:07, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:07, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:07, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:09, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:09, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:09, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:49:09, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:49:09, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax +26 12:49:09, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:49:09, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") peer +26 12:49:09, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:49:09, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:49:09, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(511cdb9e-4e97-43c2-a348-9a69ff860037), timestamp: 1727354949, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:09, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(06baa9bea8872850) +26 12:49:09, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(06baa9bea8872850) to peer PeerId("12D3KooWPmJqGNYm8h4vDYu6vHi1b1mG1QF9Q2B92EbX8xBYU6ax") +26 12:49:09, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:09, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:09, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(06baa9bea8872850) +26 12:49:09, mm2_main::database::my_orders:117] DEBUG Updating order 511cdb9e-4e97-43c2-a348-9a69ff860037 in the SQLite database +26 12:49:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:10, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:10, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:11, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:11, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:12, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:12, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:12, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:49:12, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:49:12, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:49:12, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.53s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:49:16, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/mm2.log +26 12:49:16, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.134:7783 +26 12:49:17, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.134:7783 +26 12:49:16, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:18, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:49:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.134:7783 +26 12:49:18, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354958763), "updated_at": Number(1727354958763), "matches": Object({}), "started_swaps": Array([]), "uuid": String("ee8027d0-c2d7-4769-9101-016d45df080c"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:49:20, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/mm2.log +26 12:49:20, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.161:7783 +26 12:49:21, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.161:7783 +26 12:49:20, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:21, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:49:21, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.161:7783 +26 12:49:22, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: ee8027d0-c2d7-4769-9101-016d45df080c, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354962, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"ee8027d0-c2d7-4769-9101-016d45df080c"} to http://127.0.0.134:7783 +26 12:49:22, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:49:25, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:49:25, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.134:7783 +26 12:49:25, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354965, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:25, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:49:25, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.161:7783 +26 12:49:25, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354965, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/mm2.log" vvv +running 1 test +26 12:49:18, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:18, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:18, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:49:18, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:49:18, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") +26 12:49:18, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:18, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.134/tcp/47771 +26 12:49:18, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.134/tcp/47771 +26 12:49:18, libp2p_tcp:476] DEBUG dialing 127.0.0.134:47771 +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:49:18, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:49:18, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:49:18, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-18-766_127.0.0.161/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:49:18, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:18, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:18, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:18, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:18, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:49:18, yamux::connection:345] DEBUG new connection: 6f071a7e (Client) +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:18, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.134/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:18, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.134/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.424274ms } +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:18, yamux::connection:459] DEBUG 6f071a7e: new outbound (Stream 6f071a7e/1) of (Connection 6f071a7e Client (streams 0)) +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:18, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:18, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:18, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:49:18, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:18, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:18, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:18, yamux::connection:459] DEBUG 6f071a7e: new outbound (Stream 6f071a7e/3) of (Connection 6f071a7e Client (streams 3)) +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(530.138µs) })) +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:18, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:18, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:18, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:18 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.161:7783 DEX stats API enabled at unixtime.1727354958 <<<<<<<<< +26 12:49:20, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:21, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:21, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:21, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:21, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:21, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:49:21, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:21, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:49:21, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:49:21, yamux::connection:459] DEBUG 6f071a7e: new outbound (Stream 6f071a7e/5) of (Connection 6f071a7e Client (streams 4)) +26 12:49:21, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:49:21, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:49:22, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:22, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:49:22, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ee8027d0-c2d7-4769-9101-016d45df080c, created_at: 1727354958, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:22, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(d3d244f5f9e22dc8) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:22, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(d3d244f5f9e22dc8) in duplicate_cache and resolve promises +26 12:49:22, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:49:22, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(d3d244f5f9e22dc8), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(4457420731113876391), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:49:22, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ee8027d0-c2d7-4769-9101-016d45df080c), timestamp: 1727354962, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:22, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:22, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:23, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:23, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:24, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:24, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:24, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:24, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/mm2.log" vvv +running 1 test +26 12:49:14, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:14, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:14, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:49:14, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:49:14, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:49:14, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:14, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:14, libp2p_tcp:450] DEBUG listening on 127.0.0.134:47771 +26 12:49:14, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.134/tcp/47771" +26 12:49:14, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.134/tcp/47771" } +26 12:49:14, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.134/tcp/47771 +26 12:49:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:49:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:49:14, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-14-941_127.0.0.134/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:49:14, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:14, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:14, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:14, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:14, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:14, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:14, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:14, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:14 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.134:7783 DEX stats API enabled at unixtime.1727354954 <<<<<<<<< +26 12:49:16, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:17, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:18, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:49:18, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:49:18, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:18, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:49:18, mm2_main::database::my_orders:45] DEBUG Inserting new order ee8027d0-c2d7-4769-9101-016d45df080c to the SQLite database +26 12:49:18, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ee8027d0-c2d7-4769-9101-016d45df080c, created_at: 1727354958, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:18, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(6dc58922a20279c8) +26 12:49:18, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:18, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:18, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(6dc58922a20279c8) +26 12:49:18, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/33604 at /ip4/127.0.0.134/tcp/47771 +26 12:49:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.134/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33604" } +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:49:18, yamux::connection:345] DEBUG new connection: 93c5bddf (Server) +26 12:49:18, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") Listener { local_addr: "/ip4/127.0.0.134/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33604" }; Total (peer): 1. +26 12:49:18, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G +26 12:49:18, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") +26 12:49:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.134/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/33604" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.835271ms } +26 12:49:18, yamux::connection:459] DEBUG 93c5bddf: new outbound (Stream 93c5bddf/2) of (Connection 93c5bddf Server (streams 0)) +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:18, yamux::connection:459] DEBUG 93c5bddf: new outbound (Stream 93c5bddf/4) of (Connection 93c5bddf Server (streams 1)) +26 12:49:18, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:18, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:18, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G +26 12:49:18, libp2p_ping::handler:298] DEBUG latency to 12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G is 0ms +26 12:49:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G"), connection: ConnectionId(1), result: Ok(394.093µs) })) +26 12:49:18, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:18, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:18, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G"), is_included: true +26 12:49:18, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") to included_to_relays_mesh +26 12:49:19, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:19, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:19, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:19, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:19, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:21, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:21, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:49:21, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:49:21, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G +26 12:49:21, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:21, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:49:22, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") peer +26 12:49:22, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:49:22, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:49:22, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ee8027d0-c2d7-4769-9101-016d45df080c), timestamp: 1727354962, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:22, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(d3d244f5f9e22dc8) +26 12:49:22, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(d3d244f5f9e22dc8) to peer PeerId("12D3KooWSmqAbQ8YpA62LfM5fj621UYrcbdQ3sG5sAKSNX6yqL1G") +26 12:49:22, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:22, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:22, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(d3d244f5f9e22dc8) +26 12:49:22, mm2_main::database::my_orders:117] DEBUG Updating order ee8027d0-c2d7-4769-9101-016d45df080c in the SQLite database +26 12:49:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:23, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:23, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:24, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:24, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:24, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:24, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:24, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:49:24, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:49:25, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:49:25, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.08s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:49:29, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/mm2.log +26 12:49:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.200:7783 +26 12:49:29, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.200:7783 +26 12:49:29, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:30, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:49:30, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.200:7783 +26 12:49:30, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354970972), "updated_at": Number(1727354970972), "matches": Object({}), "started_swaps": Array([]), "uuid": String("e315fb58-f5bf-4e82-aedd-f9bffbd3eae7"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:49:33, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/mm2.log +26 12:49:33, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.165:7783 +26 12:49:33, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.165:7783 +26 12:49:33, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:34, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:49:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.165:7783 +26 12:49:34, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: e315fb58-f5bf-4e82-aedd-f9bffbd3eae7, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354974, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"e315fb58-f5bf-4e82-aedd-f9bffbd3eae7"} to http://127.0.0.200:7783 +26 12:49:34, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:49:37, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:49:37, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.200:7783 +26 12:49:37, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354977, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:37, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:49:37, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.165:7783 +26 12:49:37, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354977, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/mm2.log" vvv +running 1 test +26 12:49:30, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:30, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:30, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:49:30, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:49:30, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") +26 12:49:30, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:31, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.200/tcp/47771 +26 12:49:31, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.200/tcp/47771 +26 12:49:31, libp2p_tcp:476] DEBUG dialing 127.0.0.200:47771 +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:49:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:49:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:49:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-30-977_127.0.0.165/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:49:31, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:31, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:31, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:31, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:31, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:49:31, yamux::connection:345] DEBUG new connection: e2b04859 (Client) +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:31, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.200/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:31, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.200/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.396119ms } +26 12:49:31, yamux::connection:459] DEBUG e2b04859: new outbound (Stream e2b04859/1) of (Connection e2b04859 Client (streams 0)) +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:31, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:31, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:31, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:31, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:49:31, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:31, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:31, yamux::connection:459] DEBUG e2b04859: new outbound (Stream e2b04859/3) of (Connection e2b04859 Client (streams 3)) +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(535.901µs) })) +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:31, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:31, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:31 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.165:7783 DEX stats API enabled at unixtime.1727354971 <<<<<<<<< +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:34, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:34, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:34, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:34, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:49:34, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:34, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:49:34, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:49:34, yamux::connection:459] DEBUG e2b04859: new outbound (Stream e2b04859/5) of (Connection e2b04859 Client (streams 4)) +26 12:49:34, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:49:34, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:49:34, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:34, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:49:34, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: e315fb58-f5bf-4e82-aedd-f9bffbd3eae7, created_at: 1727354970, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:34, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(9d723ff739715235) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:34, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(9d723ff739715235) in duplicate_cache and resolve promises +26 12:49:34, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:49:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(9d723ff739715235), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(3260297799588116223), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:49:34, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(e315fb58-f5bf-4e82-aedd-f9bffbd3eae7), timestamp: 1727354974, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:35, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:35, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:36, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:36, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:36, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:36, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/mm2.log" vvv +running 1 test +26 12:49:27, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:27, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:27, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:49:27, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:49:27, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:49:27, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:27, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:27, libp2p_tcp:450] DEBUG listening on 127.0.0.200:47771 +26 12:49:27, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.200/tcp/47771" +26 12:49:27, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.200/tcp/47771" } +26 12:49:27, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.200/tcp/47771 +26 12:49:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:49:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:49:27, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-27-052_127.0.0.200/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:49:27, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:27, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:27, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:27, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:27, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:27, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:27, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:27, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:27 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.200:7783 DEX stats API enabled at unixtime.1727354967 <<<<<<<<< +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:29, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:30, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:30, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:30, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:49:30, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:30, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:49:30, mm2_main::database::my_orders:45] DEBUG Inserting new order e315fb58-f5bf-4e82-aedd-f9bffbd3eae7 to the SQLite database +26 12:49:30, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: e315fb58-f5bf-4e82-aedd-f9bffbd3eae7, created_at: 1727354970, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:30, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(5fdc4b3a11353e97) +26 12:49:30, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:30, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:30, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(5fdc4b3a11353e97) +26 12:49:31, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/53278 at /ip4/127.0.0.200/tcp/47771 +26 12:49:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.200/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53278" } +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:49:31, yamux::connection:345] DEBUG new connection: 016fc6fe (Server) +26 12:49:31, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") Listener { local_addr: "/ip4/127.0.0.200/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53278" }; Total (peer): 1. +26 12:49:31, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2 +26 12:49:31, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") +26 12:49:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.200/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/53278" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.823669ms } +26 12:49:31, yamux::connection:459] DEBUG 016fc6fe: new outbound (Stream 016fc6fe/2) of (Connection 016fc6fe Server (streams 0)) +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:31, yamux::connection:459] DEBUG 016fc6fe: new outbound (Stream 016fc6fe/4) of (Connection 016fc6fe Server (streams 2)) +26 12:49:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:31, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2 +26 12:49:31, libp2p_ping::handler:298] DEBUG latency to 12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2 is 0ms +26 12:49:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2"), connection: ConnectionId(1), result: Ok(480.109µs) })) +26 12:49:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:31, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2"), is_included: true +26 12:49:31, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") to included_to_relays_mesh +26 12:49:32, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:32, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:32, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:32, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:32, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:33, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:33, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:33, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:33, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:33, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:34, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:49:34, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:49:34, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2 +26 12:49:34, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:49:34, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") peer +26 12:49:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:49:34, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:49:34, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(e315fb58-f5bf-4e82-aedd-f9bffbd3eae7), timestamp: 1727354974, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:34, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(9d723ff739715235) +26 12:49:34, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(9d723ff739715235) to peer PeerId("12D3KooWHZJbYUToLc46nsqPsXM11WJMUj8SgpJkQph8LjHdvfP2") +26 12:49:34, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:34, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:34, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(9d723ff739715235) +26 12:49:34, mm2_main::database::my_orders:117] DEBUG Updating order e315fb58-f5bf-4e82-aedd-f9bffbd3eae7 in the SQLite database +26 12:49:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:35, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:35, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:36, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:36, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:36, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:36, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:37, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:37, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:37, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:37, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:37, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:37, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:37, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:49:37, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:49:37, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:49:37, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.28s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:49:41, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/mm2.log +26 12:49:41, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.206:7783 +26 12:49:41, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.206:7783 +26 12:49:41, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:42, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:49:42, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.206:7783 +26 12:49:42, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354982990), "updated_at": Number(1727354982990), "matches": Object({}), "started_swaps": Array([]), "uuid": String("f23cc18a-e5f0-46af-9af0-b8cbd606dceb"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:49:45, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/mm2.log +26 12:49:45, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.86:7783 +26 12:49:45, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.86:7783 +26 12:49:45, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:46, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:49:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.86:7783 +26 12:49:46, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: f23cc18a-e5f0-46af-9af0-b8cbd606dceb, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354986, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"f23cc18a-e5f0-46af-9af0-b8cbd606dceb"} to http://127.0.0.206:7783 +26 12:49:46, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:49:49, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:49:49, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.206:7783 +26 12:49:49, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354989, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:49, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:49:49, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.86:7783 +26 12:49:49, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727354989, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/mm2.log" vvv +running 1 test +26 12:49:43, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:43, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:43, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:49:43, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:49:43, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") +26 12:49:43, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:43, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.206/tcp/47771 +26 12:49:43, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.206/tcp/47771 +26 12:49:43, libp2p_tcp:476] DEBUG dialing 127.0.0.206:47771 +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:49:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:49:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:49:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-42-995_127.0.0.86/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:49:43, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:43, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:43, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:43, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:43, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:49:43, yamux::connection:345] DEBUG new connection: 5ab374ce (Client) +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:43, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.206/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:49:43, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.206/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 6.444048ms } +26 12:49:43, yamux::connection:459] DEBUG 5ab374ce: new outbound (Stream 5ab374ce/1) of (Connection 5ab374ce Client (streams 0)) +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:43, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:43, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:43, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:49:43, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:49:43, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:43, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:43, yamux::connection:459] DEBUG 5ab374ce: new outbound (Stream 5ab374ce/3) of (Connection 5ab374ce Client (streams 3)) +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(664.543µs) })) +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:43, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:43, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:43 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.86:7783 DEX stats API enabled at unixtime.1727354983 <<<<<<<<< +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:49:46, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:46, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:46, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:46, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:49:46, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:46, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:49:46, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:49:46, yamux::connection:459] DEBUG 5ab374ce: new outbound (Stream 5ab374ce/5) of (Connection 5ab374ce Client (streams 4)) +26 12:49:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:49:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:49:46, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:46, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:49:46, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: f23cc18a-e5f0-46af-9af0-b8cbd606dceb, created_at: 1727354982, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:46, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(1edb6eb691f2b264) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:46, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(1edb6eb691f2b264) in duplicate_cache and resolve promises +26 12:49:46, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:49:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(1edb6eb691f2b264), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(3321832861383839056), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:49:46, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(f23cc18a-e5f0-46af-9af0-b8cbd606dceb), timestamp: 1727354986, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:46, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:48, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:48, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:48, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:48, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:49, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:49, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:49:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:49, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:49:49, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/mm2.log" vvv +running 1 test +26 12:49:39, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:39, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:39, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:49:39, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:49:39, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:49:39, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:39, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:39, libp2p_tcp:450] DEBUG listening on 127.0.0.206:47771 +26 12:49:39, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.206/tcp/47771" +26 12:49:39, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.206/tcp/47771" } +26 12:49:39, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.206/tcp/47771 +26 12:49:39, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:49:39, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:49:39, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-39-364_127.0.0.206/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:49:39, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:39, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:39, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:39, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:39, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:39, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:39, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:39, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:39 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.206:7783 DEX stats API enabled at unixtime.1727354979 <<<<<<<<< +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:41, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:42, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:42, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:42, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:49:42, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:42, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:49:42, mm2_main::database::my_orders:45] DEBUG Inserting new order f23cc18a-e5f0-46af-9af0-b8cbd606dceb to the SQLite database +26 12:49:42, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: f23cc18a-e5f0-46af-9af0-b8cbd606dceb, created_at: 1727354982, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:42, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(c1b0440aab848c44) +26 12:49:42, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:42, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:42, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:42, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(c1b0440aab848c44) +26 12:49:43, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/60970 at /ip4/127.0.0.206/tcp/47771 +26 12:49:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.206/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60970" } +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:49:43, yamux::connection:345] DEBUG new connection: 34b1deeb (Server) +26 12:49:43, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") Listener { local_addr: "/ip4/127.0.0.206/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60970" }; Total (peer): 1. +26 12:49:43, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97 +26 12:49:43, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") +26 12:49:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.206/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/60970" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.665588ms } +26 12:49:43, yamux::connection:459] DEBUG 34b1deeb: new outbound (Stream 34b1deeb/2) of (Connection 34b1deeb Server (streams 0)) +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:43, yamux::connection:459] DEBUG 34b1deeb: new outbound (Stream 34b1deeb/4) of (Connection 34b1deeb Server (streams 1)) +26 12:49:43, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:43, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:43, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97 +26 12:49:43, libp2p_ping::handler:298] DEBUG latency to 12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97 is 0ms +26 12:49:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97"), connection: ConnectionId(1), result: Ok(488.668µs) })) +26 12:49:43, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:43, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:43, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97"), is_included: true +26 12:49:43, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") to included_to_relays_mesh +26 12:49:44, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:44, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:44, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:44, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:44, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:45, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:45, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:45, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:45, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:46, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:46, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:46, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:46, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:46, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:46, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97 +26 12:49:46, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:49:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:49:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:49:46, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") peer +26 12:49:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:49:46, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:49:46, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(f23cc18a-e5f0-46af-9af0-b8cbd606dceb), timestamp: 1727354986, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:46, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(1edb6eb691f2b264) +26 12:49:46, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(1edb6eb691f2b264) to peer PeerId("12D3KooWAg7wYhVMhssVmLuzLH9eMbanDSX1MCj2GfYSsiQ1AN97") +26 12:49:46, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:46, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:46, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(1edb6eb691f2b264) +26 12:49:46, mm2_main::database::my_orders:117] DEBUG Updating order f23cc18a-e5f0-46af-9af0-b8cbd606dceb in the SQLite database +26 12:49:47, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:47, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:47, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:47, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:48, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:48, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:48, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:48, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:49, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:49, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:49, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:49, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:49, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:49:49, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:49:49, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:49:49, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.13s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:49:53, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/mm2.log +26 12:49:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.33:7783 +26 12:49:54, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.33:7783 +26 12:49:53, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:55, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:49:55, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.33:7783 +26 12:49:55, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727354995424), "updated_at": Number(1727354995424), "matches": Object({}), "started_swaps": Array([]), "uuid": String("853f8e17-bf57-42b6-8f25-e5455205264c"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:49:57, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/mm2.log +26 12:49:57, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.177:7783 +26 12:49:58, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.177:7783 +26 12:49:57, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:49:58, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:49:58, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.177:7783 +26 12:49:58, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 853f8e17-bf57-42b6-8f25-e5455205264c, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727354998, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:49:58, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"853f8e17-bf57-42b6-8f25-e5455205264c"} to http://127.0.0.33:7783 +26 12:49:58, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:50:01, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:50:01, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.33:7783 +26 12:50:01, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355001, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:01, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:50:01, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.177:7783 +26 12:50:01, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355001, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/mm2.log" vvv +running 1 test +26 12:49:55, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:55, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:55, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:49:55, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:49:55, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") +26 12:49:55, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:55, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.33/tcp/47771 +26 12:49:55, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.33/tcp/47771 +26 12:49:55, libp2p_tcp:476] DEBUG dialing 127.0.0.33:47771 +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:49:55, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:49:55, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:49:55, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-55-428_127.0.0.177/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:49:55, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:55, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:55, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:55, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:55, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:49:55, yamux::connection:345] DEBUG new connection: 69d9f020 (Client) +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:55, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.33/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:49:55, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:55, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.33/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.675473ms } +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:55, yamux::connection:459] DEBUG 69d9f020: new outbound (Stream 69d9f020/1) of (Connection 69d9f020 Client (streams 0)) +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:55, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:55, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:49:55, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:55, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:49:55, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:49:55, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:55, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(527.275µs) })) +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:55, yamux::connection:459] DEBUG 69d9f020: new outbound (Stream 69d9f020/3) of (Connection 69d9f020 Client (streams 3)) +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:55, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:55, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:55, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:55 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.177:7783 DEX stats API enabled at unixtime.1727354995 <<<<<<<<< +26 12:49:57, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:57, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:57, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:49:58, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:49:58, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:58, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:58, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:58, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:49:58, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:58, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:49:58, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:49:58, yamux::connection:459] DEBUG 69d9f020: new outbound (Stream 69d9f020/5) of (Connection 69d9f020 Client (streams 4)) +26 12:49:58, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:49:58, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:49:58, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:58, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:49:58, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 853f8e17-bf57-42b6-8f25-e5455205264c, created_at: 1727354995, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:58, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(f0ddc0327fbe86ac) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:49:58, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(f0ddc0327fbe86ac) in duplicate_cache and resolve promises +26 12:49:58, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:49:58, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(f0ddc0327fbe86ac), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(12431063570871116824), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:49:58, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(853f8e17-bf57-42b6-8f25-e5455205264c), timestamp: 1727354998, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:59, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:59, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:59, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:00, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:00, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:00, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:00, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:00, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:01, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:01, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:01, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:01, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:01, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/mm2.log" vvv +running 1 test +26 12:49:51, mod:26] test_mm_start] Starting the MarketMaker... +26 12:49:51, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:49:51, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:49:51, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:49:51, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:49:51, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:49:51, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:49:51, libp2p_tcp:450] DEBUG listening on 127.0.0.33:47771 +26 12:49:51, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.33/tcp/47771" +26 12:49:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.33/tcp/47771" } +26 12:49:51, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.33/tcp/47771 +26 12:49:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:49:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:49:51, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-49-51-921_127.0.0.33/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:49:51, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:49:51, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:49:51, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:49:51, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:49:51, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:49:51, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:49:51, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:49:51, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:49:51 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.33:7783 DEX stats API enabled at unixtime.1727354991 <<<<<<<<< +26 12:49:53, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:49:54, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:49:55, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:49:55, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:49:55, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:49:55, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:49:55, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:49:55, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:49:55, mm2_main::database::my_orders:45] DEBUG Inserting new order 853f8e17-bf57-42b6-8f25-e5455205264c to the SQLite database +26 12:49:55, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 853f8e17-bf57-42b6-8f25-e5455205264c, created_at: 1727354995, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:49:55, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(72aa70d26e57316b) +26 12:49:55, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:55, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:55, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:55, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(72aa70d26e57316b) +26 12:49:55, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/35098 at /ip4/127.0.0.33/tcp/47771 +26 12:49:55, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.33/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35098" } +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:49:55, yamux::connection:345] DEBUG new connection: e7145e18 (Server) +26 12:49:55, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") Listener { local_addr: "/ip4/127.0.0.33/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35098" }; Total (peer): 1. +26 12:49:55, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK +26 12:49:55, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") +26 12:49:55, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.33/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/35098" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.146001ms } +26 12:49:55, yamux::connection:459] DEBUG e7145e18: new outbound (Stream e7145e18/2) of (Connection e7145e18 Server (streams 0)) +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:49:55, yamux::connection:459] DEBUG e7145e18: new outbound (Stream e7145e18/4) of (Connection e7145e18 Server (streams 2)) +26 12:49:55, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:49:55, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:49:55, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK +26 12:49:55, libp2p_ping::handler:298] DEBUG latency to 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK is 0ms +26 12:49:55, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK"), connection: ConnectionId(1), result: Ok(601.317µs) })) +26 12:49:55, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:49:55, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:49:55, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK"), is_included: true +26 12:49:55, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") to included_to_relays_mesh +26 12:49:56, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:56, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:56, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:56, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:56, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:57, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:57, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:57, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:57, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:49:57, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:58, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK +26 12:49:58, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:49:58, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:49:58, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:49:58, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:49:58, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") peer +26 12:49:58, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:49:58, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:49:58, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(853f8e17-bf57-42b6-8f25-e5455205264c), timestamp: 1727354998, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:49:58, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(f0ddc0327fbe86ac) +26 12:49:58, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(f0ddc0327fbe86ac) to peer PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") +26 12:49:58, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:49:58, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:49:58, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(f0ddc0327fbe86ac) +26 12:49:58, mm2_main::database::my_orders:117] DEBUG Updating order 853f8e17-bf57-42b6-8f25-e5455205264c in the SQLite database +26 12:49:58, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:58, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:58, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:58, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:58, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:49:59, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:49:59, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:49:59, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:49:59, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:49:59, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:49:59, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:00, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:00, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:00, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:00, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:00, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:00, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:00, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK") +26 12:50:00, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWRJq1nHz6pSwPthVmdPnqTQxAWEk8NnrRgAXCenF18PCK +26 12:50:01, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:50:01, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.92s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:50:05, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/mm2.log +26 12:50:05, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.29:7783 +26 12:50:06, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.29:7783 +26 12:50:05, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:07, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:50:07, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.29:7783 +26 12:50:07, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355007532), "updated_at": Number(1727355007532), "matches": Object({}), "started_swaps": Array([]), "uuid": String("d6eb5108-bd21-4aad-b88a-299bf201a0a0"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:50:09, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/mm2.log +26 12:50:09, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.136:7783 +26 12:50:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.136:7783 +26 12:50:09, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:10, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:50:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.136:7783 +26 12:50:10, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: d6eb5108-bd21-4aad-b88a-299bf201a0a0, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355010, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:10, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"d6eb5108-bd21-4aad-b88a-299bf201a0a0"} to http://127.0.0.29:7783 +26 12:50:10, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:50:13, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:50:13, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.29:7783 +26 12:50:13, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355013, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:13, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:50:13, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.136:7783 +26 12:50:13, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355013, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/mm2.log" vvv +running 1 test +26 12:50:07, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:07, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:07, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:50:07, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:50:07, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") +26 12:50:07, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:07, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.29/tcp/47771 +26 12:50:07, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.29/tcp/47771 +26 12:50:07, libp2p_tcp:476] DEBUG dialing 127.0.0.29:47771 +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:50:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:50:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:50:07, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-07-537_127.0.0.136/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:50:07, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:07, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:07, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:07, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:07, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:50:07, yamux::connection:345] DEBUG new connection: 3a1306a8 (Client) +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:07, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.29/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:50:07, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.29/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 6.514691ms } +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:07, yamux::connection:459] DEBUG 3a1306a8: new outbound (Stream 3a1306a8/1) of (Connection 3a1306a8 Client (streams 0)) +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:07, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:07, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:50:07, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:07, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:50:07, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:50:07, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(539.474µs) })) +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:07, yamux::connection:459] DEBUG 3a1306a8: new outbound (Stream 3a1306a8/3) of (Connection 3a1306a8 Client (streams 3)) +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:07, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:07, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:07, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:07 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.136:7783 DEX stats API enabled at unixtime.1727355007 <<<<<<<<< +26 12:50:09, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:09, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:09, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:10, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:10, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:10, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:10, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:10, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:50:10, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:10, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:50:10, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:50:10, yamux::connection:459] DEBUG 3a1306a8: new outbound (Stream 3a1306a8/5) of (Connection 3a1306a8 Client (streams 4)) +26 12:50:10, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:50:10, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:50:10, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:10, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:50:10, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: d6eb5108-bd21-4aad-b88a-299bf201a0a0, created_at: 1727355007, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:10, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(804875acf3c06b8f) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:10, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(804875acf3c06b8f) in duplicate_cache and resolve promises +26 12:50:10, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:10, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(804875acf3c06b8f), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(7606585912639706969), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:10, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(d6eb5108-bd21-4aad-b88a-299bf201a0a0), timestamp: 1727355010, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:11, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:11, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:12, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:12, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:13, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:13, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/mm2.log" vvv +running 1 test +26 12:50:03, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:03, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:03, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:50:03, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:50:03, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:50:03, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:03, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:03, libp2p_tcp:450] DEBUG listening on 127.0.0.29:47771 +26 12:50:03, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.29/tcp/47771" +26 12:50:03, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.29/tcp/47771" } +26 12:50:03, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.29/tcp/47771 +26 12:50:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:50:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:50:03, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-03-784_127.0.0.29/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:50:03, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:03, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:03, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:03, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:03, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:03, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:03, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:03, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:03 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.29:7783 DEX stats API enabled at unixtime.1727355003 <<<<<<<<< +26 12:50:05, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:05, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:05, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:06, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:07, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:50:07, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:50:07, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:07, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:50:07, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:07, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:07, mm2_main::database::my_orders:45] DEBUG Inserting new order d6eb5108-bd21-4aad-b88a-299bf201a0a0 to the SQLite database +26 12:50:07, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: d6eb5108-bd21-4aad-b88a-299bf201a0a0, created_at: 1727355007, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:07, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(3f164ea5855eac9c) +26 12:50:07, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:07, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:07, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:07, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(3f164ea5855eac9c) +26 12:50:07, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/59682 at /ip4/127.0.0.29/tcp/47771 +26 12:50:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59682" } +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:50:07, yamux::connection:345] DEBUG new connection: 45009c03 (Server) +26 12:50:07, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") Listener { local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59682" }; Total (peer): 1. +26 12:50:07, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD +26 12:50:07, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") +26 12:50:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.29/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59682" }, num_established: 1, concurrent_dial_errors: None, established_in: 5.910808ms } +26 12:50:07, yamux::connection:459] DEBUG 45009c03: new outbound (Stream 45009c03/2) of (Connection 45009c03 Server (streams 0)) +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:07, yamux::connection:459] DEBUG 45009c03: new outbound (Stream 45009c03/4) of (Connection 45009c03 Server (streams 1)) +26 12:50:07, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:07, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:07, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD +26 12:50:07, libp2p_ping::handler:298] DEBUG latency to 12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD is 0ms +26 12:50:07, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD"), connection: ConnectionId(1), result: Ok(644.875µs) })) +26 12:50:07, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:07, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:07, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD"), is_included: true +26 12:50:07, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") to included_to_relays_mesh +26 12:50:08, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:08, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:08, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:08, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:08, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:09, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:09, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:09, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:09, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:09, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:10, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:10, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:10, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:10, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:10, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:10, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:50:10, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:50:10, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD +26 12:50:10, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:10, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:50:10, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") peer +26 12:50:10, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:50:10, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:50:10, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(d6eb5108-bd21-4aad-b88a-299bf201a0a0), timestamp: 1727355010, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:10, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(804875acf3c06b8f) +26 12:50:10, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(804875acf3c06b8f) to peer PeerId("12D3KooWCxgTnbgngpY7ABmFZbJZhLo7uYBtsenKGkWFvfyNCaaD") +26 12:50:10, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:10, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:10, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(804875acf3c06b8f) +26 12:50:10, mm2_main::database::my_orders:117] DEBUG Updating order d6eb5108-bd21-4aad-b88a-299bf201a0a0 in the SQLite database +26 12:50:11, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:11, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:11, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:11, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:11, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:12, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:12, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:12, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:12, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:12, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:13, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:13, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:13, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:13, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:13, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:50:13, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:50:13, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:50:13, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 10.18s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:50:17, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/mm2.log +26 12:50:17, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.98:7783 +26 12:50:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.98:7783 +26 12:50:17, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:19, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:50:19, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.98:7783 +26 12:50:20, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355020175), "updated_at": Number(1727355020175), "matches": Object({}), "started_swaps": Array([]), "uuid": String("4e274474-56a5-4e58-bf77-718006371cec"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:50:22, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/mm2.log +26 12:50:22, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.39:7783 +26 12:50:23, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.39:7783 +26 12:50:22, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:24, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:50:24, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.39:7783 +26 12:50:24, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 4, uuid: 4e274474-56a5-4e58-bf77-718006371cec, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355024, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:24, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"4e274474-56a5-4e58-bf77-718006371cec"} to http://127.0.0.98:7783 +26 12:50:24, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:50:27, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:50:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.98:7783 +26 12:50:27, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355027, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:27, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:50:27, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.39:7783 +26 12:50:27, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355027, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/mm2.log" vvv +running 1 test +26 12:50:20, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:20, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:20, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:50:20, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:50:20, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") +26 12:50:20, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:20, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.98/tcp/47771 +26 12:50:20, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.98/tcp/47771 +26 12:50:20, libp2p_tcp:476] DEBUG dialing 127.0.0.98:47771 +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:50:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:50:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:50:20, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-20-180_127.0.0.39/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:50:20, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:20, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:20, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:20, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:20, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:50:20, yamux::connection:345] DEBUG new connection: f2a7b86b (Client) +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:20, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.98/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:50:20, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.98/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.468797ms } +26 12:50:20, yamux::connection:459] DEBUG f2a7b86b: new outbound (Stream f2a7b86b/1) of (Connection f2a7b86b Client (streams 0)) +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:20, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:20, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:20, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:20, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:50:20, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:20, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:20, yamux::connection:459] DEBUG f2a7b86b: new outbound (Stream f2a7b86b/3) of (Connection f2a7b86b Client (streams 3)) +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(503.51µs) })) +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:20, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:20, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:20, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:20 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.39:7783 DEX stats API enabled at unixtime.1727355020 <<<<<<<<< +26 12:50:22, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:22, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:22, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:23, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:24, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:24, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:24, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:24, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:24, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:24, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:50:24, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:24, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:50:24, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:50:24, yamux::connection:459] DEBUG f2a7b86b: new outbound (Stream f2a7b86b/5) of (Connection f2a7b86b Client (streams 4)) +26 12:50:24, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:50:24, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:50:24, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:24, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:50:24, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4e274474-56a5-4e58-bf77-718006371cec, created_at: 1727355020, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:24, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(108c4bef7a123eca) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:24, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(108c4bef7a123eca) in duplicate_cache and resolve promises +26 12:50:24, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(108c4bef7a123eca), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6748818401013654385), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:24, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4e274474-56a5-4e58-bf77-718006371cec), timestamp: 1727355024, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:25, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:25, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:25, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:25, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:26, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:26, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:26, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:26, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/mm2.log" vvv +running 1 test +26 12:50:15, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:15, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:15, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:50:15, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:50:15, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:50:15, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:15, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:15, libp2p_tcp:450] DEBUG listening on 127.0.0.98:47771 +26 12:50:15, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.98/tcp/47771" +26 12:50:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.98/tcp/47771" } +26 12:50:15, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.98/tcp/47771 +26 12:50:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:50:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:50:15, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-15-934_127.0.0.98/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:50:15, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:15, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:15, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:15, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:15, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:15, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:15, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:15, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:15 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.98:7783 DEX stats API enabled at unixtime.1727355015 <<<<<<<<< +26 12:50:17, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:18, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:18, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:18, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10021 connection dropped due to: Temporary("Sender disconnected") +26 12:50:19, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10021 +26 12:50:19, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:50:20, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:20, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:20, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:50:20, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:20, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:50:20, mm2_main::database::my_orders:45] DEBUG Inserting new order 4e274474-56a5-4e58-bf77-718006371cec to the SQLite database +26 12:50:20, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 4e274474-56a5-4e58-bf77-718006371cec, created_at: 1727355020, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:20, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(4f47f113e4aa86f9) +26 12:50:20, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:20, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:20, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(4f47f113e4aa86f9) +26 12:50:20, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/52488 at /ip4/127.0.0.98/tcp/47771 +26 12:50:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.98/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52488" } +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:50:20, yamux::connection:345] DEBUG new connection: 9a025762 (Server) +26 12:50:20, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") Listener { local_addr: "/ip4/127.0.0.98/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52488" }; Total (peer): 1. +26 12:50:20, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr +26 12:50:20, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") +26 12:50:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.98/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/52488" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.961848ms } +26 12:50:20, yamux::connection:459] DEBUG 9a025762: new outbound (Stream 9a025762/2) of (Connection 9a025762 Server (streams 0)) +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:20, yamux::connection:459] DEBUG 9a025762: new outbound (Stream 9a025762/4) of (Connection 9a025762 Server (streams 1)) +26 12:50:20, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:20, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:20, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr +26 12:50:20, libp2p_ping::handler:298] DEBUG latency to 12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr is 0ms +26 12:50:20, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr"), connection: ConnectionId(1), result: Ok(506.219µs) })) +26 12:50:20, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:20, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:20, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr"), is_included: true +26 12:50:20, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") to included_to_relays_mesh +26 12:50:20, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:20, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:20, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:20, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:20, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:21, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:21, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:21, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:21, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:21, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:22, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:22, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:22, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:22, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:22, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:23, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:23, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:23, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:23, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:24, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:50:24, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:50:24, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr +26 12:50:24, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:50:24, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") peer +26 12:50:24, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:50:24, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:50:24, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(4e274474-56a5-4e58-bf77-718006371cec), timestamp: 1727355024, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:24, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(108c4bef7a123eca) +26 12:50:24, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(108c4bef7a123eca) to peer PeerId("12D3KooWNYAGmqeBmtvtipcAH9m98GPHYwSAC8e3NP1rnRBLCrbr") +26 12:50:24, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:24, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:24, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(108c4bef7a123eca) +26 12:50:24, mm2_main::database::my_orders:117] DEBUG Updating order 4e274474-56a5-4e58-bf77-718006371cec in the SQLite database +26 12:50:24, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:24, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:24, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:24, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:24, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:25, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:25, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:25, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:25, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:25, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:25, libp2p_gossipsub::behaviour:3415] INFO HEARTBEAT: relays low. Contains: 0 needs: 4 +26 12:50:25, libp2p_gossipsub::behaviour:3401] DEBUG RANDOM RELAYS: Got 0 peers +26 12:50:26, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:26, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:26, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:26, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:27, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:50:27, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 11.22s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:50:31, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/mm2.log +26 12:50:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:50:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.183:7783 +26 12:50:31, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:31, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:50:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.183:7783 +26 12:50:31, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355031811), "updated_at": Number(1727355031811), "matches": Object({}), "started_swaps": Array([]), "uuid": String("43fa4fbc-30da-4b1c-aead-8210d37a4998"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:50:33, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/mm2.log +26 12:50:33, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.247:7783 +26 12:50:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.247:7783 +26 12:50:33, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:34, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:50:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.247:7783 +26 12:50:34, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: 43fa4fbc-30da-4b1c-aead-8210d37a4998, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355034, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:34, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"43fa4fbc-30da-4b1c-aead-8210d37a4998"} to http://127.0.0.183:7783 +26 12:50:34, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:50:37, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:50:37, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.183:7783 +26 12:50:37, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355037, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:37, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:50:37, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.247:7783 +26 12:50:37, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 6, uuid: 43fa4fbc-30da-4b1c-aead-8210d37a4998, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355037, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/mm2.log" vvv +running 1 test +26 12:50:31, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:31, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:31, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:50:31, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:50:31, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") +26 12:50:31, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:31, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.183/tcp/47771 +26 12:50:31, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.183/tcp/47771 +26 12:50:31, libp2p_tcp:476] DEBUG dialing 127.0.0.183:47771 +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:50:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:50:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:50:31, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-31-816_127.0.0.247/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:50:31, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:31, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:31, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:31, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:31, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:50:31, yamux::connection:345] DEBUG new connection: a3fcec31 (Client) +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:31, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.183/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:50:31, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.183/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.83177ms } +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:31, yamux::connection:459] DEBUG a3fcec31: new outbound (Stream a3fcec31/1) of (Connection a3fcec31 Client (streams 0)) +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:31, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:31, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:50:31, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:31, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:50:31, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:31, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(457.484µs) })) +26 12:50:31, yamux::connection:459] DEBUG a3fcec31: new outbound (Stream a3fcec31/3) of (Connection a3fcec31 Client (streams 3)) +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:31, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:31, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:31, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:31 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.247:7783 DEX stats API enabled at unixtime.1727355031 <<<<<<<<< +26 12:50:33, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:33, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:33, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:34, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:34, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:34, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:34, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:50:34, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:34, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:50:34, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:50:34, yamux::connection:459] DEBUG a3fcec31: new outbound (Stream a3fcec31/5) of (Connection a3fcec31 Client (streams 4)) +26 12:50:34, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:50:34, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:50:34, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:34, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:50:34, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 43fa4fbc-30da-4b1c-aead-8210d37a4998, created_at: 1727355031, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:34, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(5160d4948de1c45a) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:34, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(5160d4948de1c45a) in duplicate_cache and resolve promises +26 12:50:34, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(5160d4948de1c45a), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(13680935864547101047), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:34, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(43fa4fbc-30da-4b1c-aead-8210d37a4998), timestamp: 1727355034, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:34, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:35, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:36, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:36, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:36, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:36, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:37, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:37, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(24af1cbc73d8fc1a) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:37, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(24af1cbc73d8fc1a) in duplicate_cache and resolve promises +26 12:50:37, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:37, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(24af1cbc73d8fc1a), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(5047476756614516376), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:37, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(43fa4fbc-30da-4b1c-aead-8210d37a4998), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727355031, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727355031, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:50:37, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 43fa4fbc-30da-4b1c-aead-8210d37a4998, created_at: 1727355031, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/mm2.log" vvv +running 1 test +26 12:50:29, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:29, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:29, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:50:29, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:50:29, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:50:29, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:29, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:29, libp2p_tcp:450] DEBUG listening on 127.0.0.183:47771 +26 12:50:29, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.183/tcp/47771" +26 12:50:29, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.183/tcp/47771" } +26 12:50:29, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.183/tcp/47771 +26 12:50:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:50:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:50:29, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-29-213_127.0.0.183/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:50:29, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:29, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:29, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:29, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:29, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:29, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:29, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:29, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:29 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.183:7783 DEX stats API enabled at unixtime.1727355029 <<<<<<<<< +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:31, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:31, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:50:31, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:50:31, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:31, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:50:31, mm2_main::database::my_orders:45] DEBUG Inserting new order 43fa4fbc-30da-4b1c-aead-8210d37a4998 to the SQLite database +26 12:50:31, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 43fa4fbc-30da-4b1c-aead-8210d37a4998, created_at: 1727355031, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:31, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(24af1cbc73d8fc1a) +26 12:50:31, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:31, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:31, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(24af1cbc73d8fc1a) +26 12:50:31, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/40932 at /ip4/127.0.0.183/tcp/47771 +26 12:50:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/40932" } +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:50:31, yamux::connection:345] DEBUG new connection: 6b50aea2 (Server) +26 12:50:31, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") Listener { local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/40932" }; Total (peer): 1. +26 12:50:31, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 +26 12:50:31, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") +26 12:50:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.183/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/40932" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.196528ms } +26 12:50:31, yamux::connection:459] DEBUG 6b50aea2: new outbound (Stream 6b50aea2/2) of (Connection 6b50aea2 Server (streams 0)) +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:31, yamux::connection:459] DEBUG 6b50aea2: new outbound (Stream 6b50aea2/4) of (Connection 6b50aea2 Server (streams 2)) +26 12:50:31, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:31, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:31, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 +26 12:50:31, libp2p_ping::handler:298] DEBUG latency to 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 is 0ms +26 12:50:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6"), connection: ConnectionId(1), result: Ok(527.603µs) })) +26 12:50:31, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:31, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:31, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6"), is_included: true +26 12:50:31, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") to included_to_relays_mesh +26 12:50:34, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:34, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:34, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:34, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:34, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:34, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:50:34, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:50:34, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 +26 12:50:34, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:50:34, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") peer +26 12:50:34, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:50:34, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:50:34, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(43fa4fbc-30da-4b1c-aead-8210d37a4998), timestamp: 1727355034, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:34, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(5160d4948de1c45a) +26 12:50:34, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(5160d4948de1c45a) to peer PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") +26 12:50:34, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:34, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:34, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(5160d4948de1c45a) +26 12:50:34, mm2_main::database::my_orders:117] DEBUG Updating order 43fa4fbc-30da-4b1c-aead-8210d37a4998 in the SQLite database +26 12:50:35, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:35, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:35, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:35, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:35, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:36, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:36, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:36, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:36, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:36, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:37, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:37, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:37, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:37, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:37, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:37, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:37, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") +26 12:50:37, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6") +26 12:50:37, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWLkkhegJdceMSid24ovDEU3gUk1HF6FSQeLi1yjwfmdu6 +26 12:50:37, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:50:37, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.13s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:50:45, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/mm2.log +26 12:50:45, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.235:7783 +26 12:50:45, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.235:7783 +26 12:50:45, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:45, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:50:45, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.235:7783 +26 12:50:46, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355045994), "updated_at": Number(1727355045994), "matches": Object({}), "started_swaps": Array([]), "uuid": String("ba651b15-ff5c-49c7-8276-ad08f24d8805"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:50:48, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/mm2.log +26 12:50:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.102:7783 +26 12:50:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.102:7783 +26 12:50:48, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:50:48, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:50:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.102:7783 +26 12:50:48, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: ba651b15-ff5c-49c7-8276-ad08f24d8805, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355048, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:48, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"ba651b15-ff5c-49c7-8276-ad08f24d8805"} to http://127.0.0.235:7783 +26 12:50:48, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:50:51, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:50:51, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.235:7783 +26 12:50:51, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355051, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:50:51, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:50:51, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.102:7783 +26 12:50:51, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 6, uuid: ba651b15-ff5c-49c7-8276-ad08f24d8805, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355051, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/mm2.log" vvv +running 1 test +26 12:50:46, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:46, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:46, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:50:46, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:50:46, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") +26 12:50:46, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:46, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.235/tcp/47771 +26 12:50:46, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.235/tcp/47771 +26 12:50:46, libp2p_tcp:476] DEBUG dialing 127.0.0.235:47771 +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:50:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:50:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:50:46, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-46-000_127.0.0.102/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:50:46, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:46, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:46, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:46, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:46, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:46, yamux::connection:345] DEBUG new connection: 19331ce5 (Client) +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:46, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.235/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:50:46, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.235/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.406816ms } +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:46, yamux::connection:459] DEBUG 19331ce5: new outbound (Stream 19331ce5/1) of (Connection 19331ce5 Client (streams 0)) +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:46, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:46, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:46, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:46, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:50:46, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:46, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:50:46, yamux::connection:459] DEBUG 19331ce5: new outbound (Stream 19331ce5/3) of (Connection 19331ce5 Client (streams 3)) +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(753.581µs) })) +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:46, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:46, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:46, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:46 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.102:7783 DEX stats API enabled at unixtime.1727355046 <<<<<<<<< +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:48, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:48, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:48, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:48, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:50:48, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:48, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:50:48, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:50:48, yamux::connection:459] DEBUG 19331ce5: new outbound (Stream 19331ce5/5) of (Connection 19331ce5 Client (streams 4)) +26 12:50:48, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:50:48, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:50:48, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:48, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:50:48, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ba651b15-ff5c-49c7-8276-ad08f24d8805, created_at: 1727355045, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:48, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(d296b13c31da24d1) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:48, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(d296b13c31da24d1) in duplicate_cache and resolve promises +26 12:50:48, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:48, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(d296b13c31da24d1), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(8412101731965385827), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:48, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ba651b15-ff5c-49c7-8276-ad08f24d8805), timestamp: 1727355048, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:48, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:49, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:51, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:51, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:50:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:51, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:50:51, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:51, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:51, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(42192287b29096bb) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:50:51, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(42192287b29096bb) in duplicate_cache and resolve promises +26 12:50:51, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:50:51, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(42192287b29096bb), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(9151631742768972759), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:50:51, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(ba651b15-ff5c-49c7-8276-ad08f24d8805), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727355045, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727355045, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:50:51, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ba651b15-ff5c-49c7-8276-ad08f24d8805, created_at: 1727355045, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/mm2.log" vvv +running 1 test +26 12:50:43, mod:26] test_mm_start] Starting the MarketMaker... +26 12:50:43, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:50:43, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:50:43, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:50:43, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:50:43, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:50:43, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:50:43, libp2p_tcp:450] DEBUG listening on 127.0.0.235:47771 +26 12:50:43, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.235/tcp/47771" +26 12:50:43, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.235/tcp/47771" } +26 12:50:43, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.235/tcp/47771 +26 12:50:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:50:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:50:43, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-50-43-212_127.0.0.235/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:50:43, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:50:43, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:50:43, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:50:43, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:50:43, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:50:43, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:50:43, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:50:43, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:50:43 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.235:7783 DEX stats API enabled at unixtime.1727355043 <<<<<<<<< +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:50:45, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:50:45, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:50:45, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:50:45, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:50:45, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:50:45, mm2_main::database::my_orders:45] DEBUG Inserting new order ba651b15-ff5c-49c7-8276-ad08f24d8805 to the SQLite database +26 12:50:45, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ba651b15-ff5c-49c7-8276-ad08f24d8805, created_at: 1727355045, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:50:45, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(42192287b29096bb) +26 12:50:45, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:45, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:45, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:45, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(42192287b29096bb) +26 12:50:46, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/34926 at /ip4/127.0.0.235/tcp/47771 +26 12:50:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.235/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34926" } +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:50:46, yamux::connection:345] DEBUG new connection: 0b41897a (Server) +26 12:50:46, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") Listener { local_addr: "/ip4/127.0.0.235/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34926" }; Total (peer): 1. +26 12:50:46, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 +26 12:50:46, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") +26 12:50:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.235/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/34926" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.83053ms } +26 12:50:46, yamux::connection:459] DEBUG 0b41897a: new outbound (Stream 0b41897a/2) of (Connection 0b41897a Server (streams 0)) +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:50:46, yamux::connection:459] DEBUG 0b41897a: new outbound (Stream 0b41897a/4) of (Connection 0b41897a Server (streams 2)) +26 12:50:46, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:50:46, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:50:46, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 +26 12:50:46, libp2p_ping::handler:298] DEBUG latency to 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 is 0ms +26 12:50:46, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1"), connection: ConnectionId(1), result: Ok(443.796µs) })) +26 12:50:46, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:50:46, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:50:46, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1"), is_included: true +26 12:50:46, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") to included_to_relays_mesh +26 12:50:48, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:48, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:48, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:48, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:50:48, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:48, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:50:48, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:50:48, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 +26 12:50:48, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:50:48, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:50:48, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") peer +26 12:50:48, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:50:48, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:50:48, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ba651b15-ff5c-49c7-8276-ad08f24d8805), timestamp: 1727355048, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:50:48, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(d296b13c31da24d1) +26 12:50:48, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(d296b13c31da24d1) to peer PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") +26 12:50:48, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:50:48, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:50:48, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(d296b13c31da24d1) +26 12:50:48, mm2_main::database::my_orders:117] DEBUG Updating order ba651b15-ff5c-49c7-8276-ad08f24d8805 in the SQLite database +26 12:50:49, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:49, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:49, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:49, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:50, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:50, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:50, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:50, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:51, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:50:51, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:50:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:50:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:50:51, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:50:51, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:50:51, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") +26 12:50:51, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1") +26 12:50:51, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWNUzt2QfcVXpPnsMRdgzj8SZMaeYKL8v5RGdJdECbcts1 +26 12:50:51, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:50:51, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.25s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:52:12, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/mm2.log +26 12:52:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.210:7783 +26 12:52:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.210:7783 +26 12:52:12, mm2_tests_inner:1453] enable_coins (bob): {"RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:12, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:52:12, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.210:7783 +26 12:52:13, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355133040), "updated_at": Number(1727355133040), "matches": Object({}), "started_swaps": Array([]), "uuid": String("e2016c25-af6d-403a-924d-a090dbd68b32"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:52:15, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/mm2.log +26 12:52:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.108:7783 +26 12:52:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.108:7783 +26 12:52:15, mm2_tests_inner:1494] enable_coins (alice): {"MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:15, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:52:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.108:7783 +26 12:52:15, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 2, uuid: e2016c25-af6d-403a-924d-a090dbd68b32, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355135, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:15, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"e2016c25-af6d-403a-924d-a090dbd68b32"} to http://127.0.0.210:7783 +26 12:52:15, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:52:18, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:52:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.210:7783 +26 12:52:18, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355138, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:18, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:52:18, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.108:7783 +26 12:52:18, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 5, uuid: e2016c25-af6d-403a-924d-a090dbd68b32, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355138, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/mm2.log" vvv +running 1 test +26 12:52:13, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:13, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:13, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:52:13, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:52:13, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") +26 12:52:13, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:13, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.210/tcp/47771 +26 12:52:13, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.210/tcp/47771 +26 12:52:13, libp2p_tcp:476] DEBUG dialing 127.0.0.210:47771 +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:52:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:52:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:52:13, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-13-045_127.0.0.108/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:52:13, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:13, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:13, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:13, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:13, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:52:13, yamux::connection:345] DEBUG new connection: c6357301 (Client) +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:13, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.210/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:52:13, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.210/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 5.344385ms } +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:13, yamux::connection:459] DEBUG c6357301: new outbound (Stream c6357301/1) of (Connection c6357301 Client (streams 0)) +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:13, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:13, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:13, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:52:13, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:52:13, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:13, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(498.167µs) })) +26 12:52:13, yamux::connection:459] DEBUG c6357301: new outbound (Stream c6357301/3) of (Connection c6357301 Client (streams 3)) +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:13, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:13, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:13, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:13 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.108:7783 DEX stats API enabled at unixtime.1727355133 <<<<<<<<< +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:15, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:15, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:15, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:15, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:52:15, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:15, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:52:15, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:52:15, yamux::connection:459] DEBUG c6357301: new outbound (Stream c6357301/5) of (Connection c6357301 Client (streams 4)) +26 12:52:15, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:52:15, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:52:15, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:15, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:52:15, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: e2016c25-af6d-403a-924d-a090dbd68b32, created_at: 1727355133, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:15, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(49bff0a8be2e62e1) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:15, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(49bff0a8be2e62e1) in duplicate_cache and resolve promises +26 12:52:15, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:52:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(49bff0a8be2e62e1), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(6738342780220252275), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:15, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:15, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(e2016c25-af6d-403a-924d-a090dbd68b32), timestamp: 1727355135, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:16, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:18, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:52:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:18, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:52:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:18, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:18, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(ccc13ea2f13826a5) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:18, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(ccc13ea2f13826a5) in duplicate_cache and resolve promises +26 12:52:18, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:52:18, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(ccc13ea2f13826a5), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(2874799062982364774), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:52:18, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(e2016c25-af6d-403a-924d-a090dbd68b32), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727355133, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727355133, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:52:18, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: e2016c25-af6d-403a-924d-a090dbd68b32, created_at: 1727355133, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/mm2.log" vvv +running 1 test +26 12:52:10, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:10, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:10, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:52:10, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:52:10, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:52:10, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:10, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:10, libp2p_tcp:450] DEBUG listening on 127.0.0.210:47771 +26 12:52:10, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.210/tcp/47771" +26 12:52:10, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.210/tcp/47771" } +26 12:52:10, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.210/tcp/47771 +26 12:52:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:52:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:52:10, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-10-352_127.0.0.210/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:52:10, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:10, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:10, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:10, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:10, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:10, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:10, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:10, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:10 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.210:7783 DEX stats API enabled at unixtime.1727355130 <<<<<<<<< +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:732] ERROR electrum3.cipig.net:10020 connection dropped due to: Temporary("Sender disconnected") +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection_manager::manager:271] DEBUG Electrum server disconnected: electrum3.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:12, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:12, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:52:13, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:52:13, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:13, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:52:13, mm2_main::database::my_orders:45] DEBUG Inserting new order e2016c25-af6d-403a-924d-a090dbd68b32 to the SQLite database +26 12:52:13, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: e2016c25-af6d-403a-924d-a090dbd68b32, created_at: 1727355133, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:13, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(ccc13ea2f13826a5) +26 12:52:13, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:13, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:13, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:13, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(ccc13ea2f13826a5) +26 12:52:13, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/56564 at /ip4/127.0.0.210/tcp/47771 +26 12:52:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.210/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56564" } +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:52:13, yamux::connection:345] DEBUG new connection: 5fac4ec7 (Server) +26 12:52:13, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") Listener { local_addr: "/ip4/127.0.0.210/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56564" }; Total (peer): 1. +26 12:52:13, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV +26 12:52:13, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") +26 12:52:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.210/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/56564" }, num_established: 1, concurrent_dial_errors: None, established_in: 4.8123ms } +26 12:52:13, yamux::connection:459] DEBUG 5fac4ec7: new outbound (Stream 5fac4ec7/2) of (Connection 5fac4ec7 Server (streams 0)) +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:13, yamux::connection:459] DEBUG 5fac4ec7: new outbound (Stream 5fac4ec7/4) of (Connection 5fac4ec7 Server (streams 2)) +26 12:52:13, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:13, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:13, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV +26 12:52:13, libp2p_ping::handler:298] DEBUG latency to 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV is 0ms +26 12:52:13, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV"), connection: ConnectionId(1), result: Ok(558.419µs) })) +26 12:52:13, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:13, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:13, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV"), is_included: true +26 12:52:13, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") to included_to_relays_mesh +26 12:52:15, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:15, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:15, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:15, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:52:15, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:15, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:52:15, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:52:15, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV +26 12:52:15, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:52:15, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") peer +26 12:52:15, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:52:15, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:52:15, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(e2016c25-af6d-403a-924d-a090dbd68b32), timestamp: 1727355135, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:15, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(49bff0a8be2e62e1) +26 12:52:15, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(49bff0a8be2e62e1) to peer PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") +26 12:52:15, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:15, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:15, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(49bff0a8be2e62e1) +26 12:52:15, mm2_main::database::my_orders:117] DEBUG Updating order e2016c25-af6d-403a-924d-a090dbd68b32 in the SQLite database +26 12:52:16, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:16, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:16, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:16, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:16, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:17, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:17, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:17, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:17, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:17, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:18, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:18, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:18, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:18, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:18, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:18, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") +26 12:52:18, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV") +26 12:52:18, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWETfXtMHvdm11GB5ySd77ZKSnwSCKXZCDrsEHUxQ52rdV +26 12:52:18, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:52:18, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.22s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:52:25, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/mm2.log +26 12:52:25, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.34:7783 +26 12:52:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.34:7783 +26 12:52:25, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:26, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:52:26, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.34:7783 +26 12:52:26, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355146434), "updated_at": Number(1727355146434), "matches": Object({}), "started_swaps": Array([]), "uuid": String("71f0c6e0-d626-4f21-8eb1-882ed5994279"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:52:28, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/mm2.log +26 12:52:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.246:7783 +26 12:52:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.246:7783 +26 12:52:28, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:28, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:52:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.246:7783 +26 12:52:28, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 2, uuid: 71f0c6e0-d626-4f21-8eb1-882ed5994279, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355148, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:28, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"71f0c6e0-d626-4f21-8eb1-882ed5994279"} to http://127.0.0.34:7783 +26 12:52:28, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:52:31, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:52:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.34:7783 +26 12:52:31, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355151, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:31, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:52:31, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.246:7783 +26 12:52:31, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 5, uuid: 71f0c6e0-d626-4f21-8eb1-882ed5994279, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355151, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/mm2.log" vvv +running 1 test +26 12:52:26, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:26, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:26, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:52:26, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:52:26, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") +26 12:52:26, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:26, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.34/tcp/47771 +26 12:52:26, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.34/tcp/47771 +26 12:52:26, libp2p_tcp:476] DEBUG dialing 127.0.0.34:47771 +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:52:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:52:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:52:26, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-26-440_127.0.0.246/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:52:26, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:26, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:26, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:26, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:26, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:52:26, yamux::connection:345] DEBUG new connection: 079fcf72 (Client) +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:26, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.34/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:26, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.34/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.563116ms } +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:26, yamux::connection:459] DEBUG 079fcf72: new outbound (Stream 079fcf72/1) of (Connection 079fcf72 Client (streams 0)) +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:26, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:26, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:26, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:52:26, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:26, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:26, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:52:26, yamux::connection:459] DEBUG 079fcf72: new outbound (Stream 079fcf72/3) of (Connection 079fcf72 Client (streams 3)) +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(429.332µs) })) +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:26, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:26, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:26, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:26 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.246:7783 DEX stats API enabled at unixtime.1727355146 <<<<<<<<< +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:28, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:28, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:28, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:28, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:52:28, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:28, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:52:28, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:52:28, yamux::connection:459] DEBUG 079fcf72: new outbound (Stream 079fcf72/5) of (Connection 079fcf72 Client (streams 4)) +26 12:52:28, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:52:28, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:52:28, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:28, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:52:28, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 71f0c6e0-d626-4f21-8eb1-882ed5994279, created_at: 1727355146, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:28, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(6a2b00d883451452) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:28, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(6a2b00d883451452) in duplicate_cache and resolve promises +26 12:52:28, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:52:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(6a2b00d883451452), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(1451148001574314967), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:28, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:28, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(71f0c6e0-d626-4f21-8eb1-882ed5994279), timestamp: 1727355148, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:29, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:31, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:52:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:31, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:52:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:31, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:31, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(090f6ad37b8d0c4d) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:31, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(090f6ad37b8d0c4d) in duplicate_cache and resolve promises +26 12:52:31, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:52:31, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(090f6ad37b8d0c4d), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(3060852667928558259), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:52:31, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCreated(MakerOrderCreated { uuid: CompactUuid(71f0c6e0-d626-4f21-8eb1-882ed5994279), base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, created_at: 1727355146, conf_settings: OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }, timestamp: 1727355146, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0], base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100] }) +26 12:52:31, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 71f0c6e0-d626-4f21-8eb1-882ed5994279, created_at: 1727355146, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +vvv "/tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/mm2.log" vvv +running 1 test +26 12:52:23, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:23, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:23, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:52:23, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:52:23, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:52:23, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:23, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:23, libp2p_tcp:450] DEBUG listening on 127.0.0.34:47771 +26 12:52:23, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.34/tcp/47771" +26 12:52:23, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.34/tcp/47771" } +26 12:52:23, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.34/tcp/47771 +26 12:52:23, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:52:23, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:52:23, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-23-784_127.0.0.34/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:52:23, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:23, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:23, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:23, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:23, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:23, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:23, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:23, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:23 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.34:7783 DEX stats API enabled at unixtime.1727355143 <<<<<<<<< +26 12:52:25, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:25, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:25, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:26, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:52:26, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:52:26, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:26, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:52:26, mm2_main::database::my_orders:45] DEBUG Inserting new order 71f0c6e0-d626-4f21-8eb1-882ed5994279 to the SQLite database +26 12:52:26, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: 71f0c6e0-d626-4f21-8eb1-882ed5994279, created_at: 1727355146, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:26, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(090f6ad37b8d0c4d) +26 12:52:26, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:26, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:26, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:26, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(090f6ad37b8d0c4d) +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:26, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:26, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/48124 at /ip4/127.0.0.34/tcp/47771 +26 12:52:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.34/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48124" } +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:52:26, yamux::connection:345] DEBUG new connection: ec1c32b8 (Server) +26 12:52:26, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") Listener { local_addr: "/ip4/127.0.0.34/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48124" }; Total (peer): 1. +26 12:52:26, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW +26 12:52:26, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") +26 12:52:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.34/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/48124" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.974598ms } +26 12:52:26, yamux::connection:459] DEBUG ec1c32b8: new outbound (Stream ec1c32b8/2) of (Connection ec1c32b8 Server (streams 0)) +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:26, yamux::connection:459] DEBUG ec1c32b8: new outbound (Stream ec1c32b8/4) of (Connection ec1c32b8 Server (streams 1)) +26 12:52:26, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:26, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:26, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW +26 12:52:26, libp2p_ping::handler:298] DEBUG latency to 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW is 0ms +26 12:52:26, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW"), connection: ConnectionId(1), result: Ok(374.077µs) })) +26 12:52:26, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:26, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:26, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW"), is_included: true +26 12:52:26, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") to included_to_relays_mesh +26 12:52:28, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:28, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:28, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:28, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:52:28, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:28, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:52:28, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:52:28, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW +26 12:52:28, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:52:28, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") peer +26 12:52:28, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:52:28, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:52:28, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(71f0c6e0-d626-4f21-8eb1-882ed5994279), timestamp: 1727355148, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:28, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(6a2b00d883451452) +26 12:52:28, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(6a2b00d883451452) to peer PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") +26 12:52:28, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:28, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:28, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(6a2b00d883451452) +26 12:52:28, mm2_main::database::my_orders:117] DEBUG Updating order 71f0c6e0-d626-4f21-8eb1-882ed5994279 in the SQLite database +26 12:52:29, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:29, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:29, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:29, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:29, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:30, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:30, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:30, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:30, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:30, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:31, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:31, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:31, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:31, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:31, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:31, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") +26 12:52:31, libp2p_gossipsub::behaviour:1373] DEBUG IWANT: Sending cached messages to peer: PeerId("12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW") +26 12:52:31, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWQQeosspikUEyKSqNa8a6TSmZ3PDdaXKVkUpZrgCMv5bW +26 12:52:31, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:52:31, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... FAILED + +failures: + +failures: + mm2_tests::mm2_tests_inner::test_cancel_order + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 117 filtered out; finished in 8.12s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +26 12:52:46, mm2_tests_inner:1451] Bob log path: /tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/mm2.log +26 12:52:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.208:7783 +26 12:52:46, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.208:7783 +26 12:52:46, mm2_tests_inner:1453] enable_coins (bob): {"MORTY": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "RICK": CoinInitResponse { result: "success", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:47, mm2_tests_inner:1458] Issue sell request on Bob side by setting base/rel price… +26 12:52:47, for_tests:1488] sending rpc request {"userpass":"pass","method":"setprice","base":"RICK","rel":"MORTY","price":0.9,"volume":"0.9"} to http://127.0.0.208:7783 +26 12:52:47, mm2_tests_inner:1470] Object({"result": Object({"base": String("RICK"), "rel": String("MORTY"), "price": String("0.9"), "price_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "max_base_vol": String("0.9"), "max_base_vol_rat": Array([Array([Number(1), Array([Number(9)])]), Array([Number(1), Array([Number(10)])])]), "min_base_vol": String("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), "min_base_vol_rat": Array([Array([Number(1), Array([Number(1)])]), Array([Number(1), Array([Number(9000)])])]), "created_at": Number(1727355167615), "updated_at": Number(1727355167615), "matches": Object({}), "started_swaps": Array([]), "uuid": String("ae12e7da-7700-4d76-a676-5510d210602c"), "conf_settings": Object({"base_confs": Number(1), "base_nota": Bool(false), "rel_confs": Number(1), "rel_nota": Bool(false)}), "base_orderbook_ticker": Null, "rel_orderbook_ticker": Null})}) +26 12:52:49, mm2_tests_inner:1491] Alice log path: /tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/mm2.log +26 12:52:49, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"RICK","servers":[{"url":"electrum1.cipig.net:10020"},{"url":"electrum2.cipig.net:10020"},{"url":"electrum3.cipig.net:10020"}],"mm2":1,"tx_history":false} to http://127.0.0.107:7783 +26 12:52:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"electrum","coin":"MORTY","servers":[{"url":"electrum1.cipig.net:10021"},{"url":"electrum2.cipig.net:10021"},{"url":"electrum3.cipig.net:10021"}],"mm2":1,"tx_history":false} to http://127.0.0.107:7783 +26 12:52:49, mm2_tests_inner:1494] enable_coins (alice): {"RICK": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "RICK", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }, "MORTY": CoinInitResponse { result: "success", address: "RJgqmztdrC2ezyoqTXhnRfifcmDhfNPKFH", balance: BigDecimal("7.777"), unspendable_balance: BigDecimal("0"), coin: "MORTY", required_confirmations: 1, requires_notarization: false, mature_confirmations: Some(100) }} +26 12:52:50, mm2_tests_inner:1499] Get RICK/MORTY orderbook on Alice side +26 12:52:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.107:7783 +26 12:52:50, mm2_tests_inner:1510] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [AggregatedOrderbookEntry { entry: RpcOrderbookEntry { coin: "RICK", address: "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD", price: BigDecimal("0.9"), price_rat: Ratio { numer: 9, denom: 10 }, price_fraction: Fraction { numer: 9, denom: 10 }, max_volume: BigDecimal("0.9"), max_volume_rat: Ratio { numer: 9, denom: 10 }, max_volume_fraction: Fraction { numer: 9, denom: 10 }, min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), min_volume_rat: Ratio { numer: 1, denom: 9000 }, min_volume_fraction: Fraction { numer: 1, denom: 9000 }, pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", age: 3, uuid: ae12e7da-7700-4d76-a676-5510d210602c, is_mine: false, base_max_volume: DetailedBaseMaxVolume { base_max_volume: BigDecimal("0.9"), base_max_volume_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_rat: Ratio { numer: 9, denom: 10 } }, base_min_volume: DetailedBaseMinVolume { base_min_volume: BigDecimal("0.0001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"), base_min_volume_fraction: Fraction { numer: 1, denom: 9000 }, base_min_volume_rat: Ratio { numer: 1, denom: 9000 } }, rel_max_volume: DetailedRelMaxVolume { rel_max_volume: BigDecimal("0.81"), rel_max_volume_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_rat: Ratio { numer: 81, denom: 100 } }, rel_min_volume: DetailedRelMinVolume { rel_min_volume: BigDecimal("0.0001"), rel_min_volume_fraction: Fraction { numer: 1, denom: 10000 }, rel_min_volume_rat: Ratio { numer: 1, denom: 10000 } }, conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) }, base_max_volume_aggr: AggregatedBaseVol { base_max_volume_aggr: BigDecimal("0.9"), base_max_volume_aggr_fraction: Fraction { numer: 9, denom: 10 }, base_max_volume_aggr_rat: Ratio { numer: 9, denom: 10 } }, rel_max_volume_aggr: AggregatedRelVol { rel_max_volume_aggr: BigDecimal("0.81"), rel_max_volume_aggr_fraction: Fraction { numer: 81, denom: 100 }, rel_max_volume_aggr_rat: Ratio { numer: 81, denom: 100 } } }], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 1, num_bids: 0, rel: "MORTY", timestamp: 1727355170, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0.9"), total_asks_base_vol_fraction: Fraction { numer: 9, denom: 10 }, total_asks_base_vol_rat: Ratio { numer: 9, denom: 10 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0.81"), total_asks_rel_vol_fraction: Fraction { numer: 81, denom: 100 }, total_asks_rel_vol_rat: Ratio { numer: 81, denom: 100 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:50, for_tests:1488] sending rpc request {"userpass":"pass","method":"cancel_order","uuid":"ae12e7da-7700-4d76-a676-5510d210602c"} to http://127.0.0.208:7783 +26 12:52:50, mm2_tests_inner:1533] Waiting (3 seconds) for Bob to cancel the order… +26 12:52:53, mm2_tests_inner:1537] Get RICK/MORTY orderbook on Bob side +26 12:52:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.208:7783 +26 12:52:53, mm2_tests_inner:1548] Bob orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355173, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +26 12:52:53, mm2_tests_inner:1552] Get RICK/MORTY orderbook on Alice side +26 12:52:53, for_tests:1488] sending rpc request {"userpass":"pass","method":"orderbook","base":"RICK","rel":"MORTY"} to http://127.0.0.107:7783 +26 12:52:53, mm2_tests_inner:1563] Alice orderbook OrderbookResponse { ask_depth: 0, asks: [], base: "RICK", bid_depth: 0, bids: [], netid: 9998, num_asks: 0, num_bids: 0, rel: "MORTY", timestamp: 1727355173, total_asks_base: TotalAsksBaseVol { total_asks_base_vol: BigDecimal("0"), total_asks_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_asks_rel: TotalAsksRelVol { total_asks_rel_vol: BigDecimal("0"), total_asks_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_asks_rel_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_base: TotalBidsBaseVol { total_bids_base_vol: BigDecimal("0"), total_bids_base_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_base_vol_rat: Ratio { numer: 0, denom: 1 } }, total_bids_rel: TotalBidsRelVol { total_bids_rel_vol: BigDecimal("0"), total_bids_rel_vol_fraction: Fraction { numer: 0, denom: 1 }, total_bids_rel_vol_rat: Ratio { numer: 0, denom: 1 } } } +vvv "/tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/mm2.log" vvv +running 1 test +26 12:52:47, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:47, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:47, crypto::crypto_ctx:324] INFO Public key hash: 67322af929bbf4f0407a0eaac68bb4fe12f67236 +26 12:52:47, crypto::crypto_ctx:325] INFO Shared Database ID: b35a094d6883935969eaab1ea42736ac5c51e26f +26 12:52:47, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") +26 12:52:47, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:47, mm2_p2p::behaviours::atomicdex:716] INFO Dialed /ip4/127.0.0.208/tcp/47771 +26 12:52:47, libp2p_dns:338] DEBUG Dialing /ip4/127.0.0.208/tcp/47771 +26 12:52:47, libp2p_tcp:476] DEBUG dialing 127.0.0.208:47771 +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /noise +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /noise +26 12:52:47, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/MM2.db +26 12:52:47, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/DB/b35a094d6883935969eaab1ea42736ac5c51e26f/MM2-shared.db +26 12:52:47, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-47-618_127.0.0.107/DB/67322af929bbf4f0407a0eaac68bb4fe12f67236/KOMODEFI.db +26 12:52:47, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:47, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:47, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:47, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:47, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /yamux/1.0.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /yamux/1.0.0 +26 12:52:47, yamux::connection:345] DEBUG new connection: e02b460a (Client) +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:47, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") Dialer { address: "/ip4/127.0.0.208/tcp/47771", role_override: Dialer }; Total (peer): 1. +26 12:52:47, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:47, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection_id: ConnectionId(1), endpoint: Dialer { address: "/ip4/127.0.0.208/tcp/47771", role_override: Dialer }, num_established: 1, concurrent_dial_errors: Some([]), established_in: 4.204369ms } +26 12:52:47, yamux::connection:459] DEBUG e02b460a: new outbound (Stream e02b460a/1) of (Connection e02b460a Client (streams 0)) +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:47, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:47, libp2p_gossipsub::behaviour:3549] DEBUG Handling IAmrelay message for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:47, libp2p_ping::handler:298] DEBUG latency to 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G is 0ms +26 12:52:47, libp2p_gossipsub::behaviour:3557] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relays list +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:47, libp2p_gossipsub::behaviour:3560] INFO IAmrelay: Adding peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") to the relay mesh +26 12:52:47, libp2p_gossipsub::behaviour:3564] DEBUG Completed IAmrelay handling for peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:47, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), connection: ConnectionId(1), result: Ok(406.03µs) })) +26 12:52:47, yamux::connection:459] DEBUG e02b460a: new outbound (Stream e02b460a/3) of (Connection e02b460a Client (streams 3)) +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:47, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:47, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:47, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:47 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.107:7783 DEX stats API enabled at unixtime.1727355167 <<<<<<<<< +26 12:52:49, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:49, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:49, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:50, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:50, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:50, libp2p_gossipsub::behaviour:593] DEBUG Sending SUBSCRIBE to peer: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:50, libp2p_gossipsub::behaviour:966] DEBUG Running JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:50, libp2p_gossipsub::behaviour:1035] DEBUG JOIN: Inserting 0 random peers into the mesh +26 12:52:50, libp2p_gossipsub::behaviour:1081] DEBUG Completed JOIN for topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:50, libp2p_gossipsub::behaviour:602] DEBUG Subscribed to topic: orbk/MORTY:RICK +26 12:52:50, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 1 +26 12:52:50, yamux::connection:459] DEBUG e02b460a: new outbound (Stream e02b460a/5) of (Connection e02b460a Client (streams 4)) +26 12:52:50, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /request-response/2 +26 12:52:50, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /request-response/2 +26 12:52:50, mm2_p2p::behaviours::request_response:325] DEBUG Received a response to the RequestId(1) request from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:50, mm2_p2p::behaviours::atomicdex:230] DEBUG Received a response from peer PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), stop the request loop +26 12:52:50, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ae12e7da-7700-4d76-a676-5510d210602c, created_at: 1727355167, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:50, libp2p_gossipsub::behaviour:1696] DEBUG Handling message: MessageId(78eae382c706e363) from peer: 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:50, libp2p_gossipsub::behaviour:1850] DEBUG Put message MessageId(78eae382c706e363) in duplicate_cache and resolve promises +26 12:52:50, libp2p_gossipsub::behaviour:1872] DEBUG Sending received message to user +26 12:52:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Message { propagation_source: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G"), message_id: MessageId(78eae382c706e363), message: Message { data: 938100c421022cd302.., source: Some(PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G")), sequence_number: Some(14396091965751837277), topic: TopicHash { hash: "orbk/MORTY:RICK" } } })) +26 12:52:50, mm2_main::lp_ordermatch:548] DEBUG received ordermatch message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ae12e7da-7700-4d76-a676-5510d210602c), timestamp: 1727355170, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:52, libp2p_gossipsub::behaviour:1296] DEBUG IHAVE: Asking for 1 out of 1 messages from 12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G +26 12:52:52, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:52, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:52:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:52, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:52:52, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:53, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:53, libp2p_gossipsub::behaviour:2230] DEBUG HEARTBEAT: Mesh low. Topic: orbk/MORTY:RICK Contains: 0 needs: 2 +26 12:52:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:53, libp2p_gossipsub::behaviour:2255] DEBUG Updating mesh, new mesh: {} +26 12:52:53, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +vvv "/tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/mm2.log.dashboard" vvv + +vvv "/tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/mm2.log" vvv +running 1 test +26 12:52:44, mod:26] test_mm_start] Starting the MarketMaker... +26 12:52:44, mm2_main::lp_native_dex:499] INFO Version: TEST DT TEST +26 12:52:44, crypto::crypto_ctx:324] INFO Public key hash: b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9 +26 12:52:44, crypto::crypto_ctx:325] INFO Shared Database ID: 4581ace2629f6ab2757000096f7ca8b5dd88ac63 +26 12:52:44, mm2_main::lp_native_dex:688] WARN Please note TLS private key and certificate are not specified. +To accept P2P WSS connections, please pass 'wss_certs' to the config. +Example: "wss_certs": { "server_priv_key": "/path/to/key.pem", "certificate": "/path/to/cert.pem" } +26 12:52:44, mm2_p2p::behaviours::atomicdex:592] INFO Local peer id: PeerId("12D3KooWA7XvEuVtvK8r7Gn6cN48QewFLPHn3rSWF9zhWgASKs7G") +26 12:52:44, mm2_p2p::behaviours::atomicdex:597] INFO Network information: Distributed { network_ports: NetworkPorts { tcp: 47771, wss: 47781 } } +26 12:52:44, libp2p_tcp:450] DEBUG listening on 127.0.0.208:47771 +26 12:52:44, libp2p_swarm:952] DEBUG Listener ListenerId(1); New address: "/ip4/127.0.0.208/tcp/47771" +26 12:52:44, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event NewListenAddr { listener_id: ListenerId(1), address: "/ip4/127.0.0.208/tcp/47771" } +26 12:52:44, mm2_p2p::behaviours::atomicdex:779] INFO Listening on /ip4/127.0.0.208/tcp/47771 +26 12:52:44, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/MM2.db +26 12:52:44, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/DB/4581ace2629f6ab2757000096f7ca8b5dd88ac63/MM2-shared.db +26 12:52:44, mm2_core::mm_ctx:797] DEBUG Trying to open SQLite database file /tmp/mm2_2024-09-26_15-52-44-074_127.0.0.208/DB/b506088aa2a3b4bb1da3a29bf00ce1a550ea1df9/KOMODEFI.db +26 12:52:44, mm2_main::database:25] INFO Checking the current SQLite migration +26 12:52:44, mm2_main::database:38] DEBUG Error 'no such table: migration' on getting current migration. The database is either empty or corrupted, trying to clean it first +26 12:52:44, mm2_main::database:70] ERROR Error no such table: migration on SQLite database cleanup +26 12:52:44, mm2_main::database:43] INFO Trying to initialize the SQLite database +26 12:52:44, mm2_main::database:141] INFO migrate_sqlite_database, current migration 1 +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_swaps (\n id INTEGER NOT NULL PRIMARY KEY,\n maker_coin VARCHAR(255) NOT NULL,\n taker_coin VARCHAR(255) NOT NULL,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n started_at INTEGER NOT NULL,\n finished_at INTEGER NOT NULL,\n maker_amount DECIMAL NOT NULL,\n taker_amount DECIMAL NOT NULL,\n is_success INTEGER NOT NULL\n);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "CREATE INDEX timestamp_index ON stats_swaps (started_at);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_ticker VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_platform VARCHAR(255) NOT NULL DEFAULT '';" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_ticker = CASE instr(maker_coin, '-') WHEN 0 THEN maker_coin ELSE substr(maker_coin, 0, instr(maker_coin, '-')) END;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET maker_coin_platform = CASE instr(maker_coin, '-') WHEN 0 THEN '' ELSE substr(maker_coin, instr(maker_coin, '-') + 1) END;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_ticker = CASE instr(taker_coin, '-') WHEN 0 THEN taker_coin ELSE substr(taker_coin, 0, instr(taker_coin, '-')) END;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "UPDATE stats_swaps SET taker_coin_platform = CASE instr(taker_coin, '-') WHEN 0 THEN '' ELSE substr(taker_coin, instr(taker_coin, '-') + 1) END;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS my_orders (\n id INTEGER NOT NULL PRIMARY KEY,\n uuid VARCHAR(255) NOT NULL UNIQUE,\n type VARCHAR(255) NOT NULL,\n initial_action VARCHAR(255) NOT NULL,\n base VARCHAR(255) NOT NULL,\n rel VARCHAR(255) NOT NULL,\n price DECIMAL NOT NULL,\n volume DECIMAL NOT NULL,\n created_at INTEGER NOT NULL, \n last_updated INTEGER NOT NULL, \n was_taker INTEGER NOT NULL,\n status VARCHAR(255) NOT NULL\n);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL UNIQUE,\n address VARCHAR(255) NOT NULL,\n peer_id VARCHAR(255) NOT NULL UNIQUE\n);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "CREATE TABLE IF NOT EXISTS stats_nodes (\n id INTEGER NOT NULL PRIMARY KEY,\n name VARCHAR(255) NOT NULL,\n version VARCHAR(255),\n timestamp INTEGER NOT NULL,\n error VARCHAR(255)\n);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_coin_usd_price DECIMAL;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_coin_usd_price DECIMAL;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_pubkey VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_pubkey VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN is_finished BOOLEAN NOT NULL DEFAULT 0;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN events_json TEXT NOT NULL DEFAULT '[]';" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN swap_type INTEGER NOT NULL DEFAULT 0;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_volume TEXT;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_volume TEXT;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN premium TEXT;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee TEXT;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret BLOB;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash BLOB;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN secret_hash_algo INTEGER;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN p2p_privkey BLOB;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN lock_duration INTEGER;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_confs INTEGER;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN maker_coin_nota BOOLEAN;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_confs INTEGER;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN taker_coin_nota BOOLEAN;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_gui VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_gui VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN maker_version VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE stats_swaps ADD COLUMN taker_version VARCHAR(255);" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN other_p2p_pub BLOB;" with params [] +26 12:52:44, mm2_main::database:148] DEBUG Executing SQL statement "ALTER TABLE my_swaps ADD COLUMN dex_fee_burn TEXT;" with params [] +26 12:52:44, mm2_main::database:157] INFO migrate_sqlite_database complete, migrated to 13 +26 12:52:44, mm2_main::database:47] INFO SQLite database initialization is successful +😉 2024-09-26 15:52:44 +0300 [] rpc:467] >>>>>>>>>> DEX stats 127.0.0.208:7783 DEX stats API enabled at unixtime.1727355164 <<<<<<<<< +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10020 +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10020 is now connected +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10020 +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10020 is now connected +26 12:52:46, coins::utxo::rpc_clients::electrum_rpc::client:314] WARN Failed to send the request using active connections, trying all connections. +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum1.cipig.net:10021 +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum1.cipig.net:10021 is now connected +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum2.cipig.net:10021 +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum2.cipig.net:10021 is now connected +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10020 +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10020 is now connected +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:441] INFO Electrum client connected to electrum3.cipig.net:10021 +26 12:52:47, coins::utxo::rpc_clients::electrum_rpc::connection:724] INFO electrum3.cipig.net:10021 is now connected +26 12:52:47, mm2_main::lp_swap::check_balance:26] DEBUG Check my_coin 'RICK' balance for swap +26 12:52:47, mm2_main::lp_swap::check_balance:61] DEBUG RICK balance Fraction { numer: 7777, denom: 1000 }, locked Fraction { numer: 0, denom: 1 }, volume Fraction { numer: 9, denom: 10 }, fee Fraction { numer: 1, denom: 100000 }, dex_fee Fraction { numer: 0, denom: 1 } +26 12:52:47, libp2p_gossipsub::behaviour:562] DEBUG Subscribing to topic: orbk/MORTY:RICK +26 12:52:47, libp2p_gossipsub::behaviour:565] DEBUG Relay is subscribed to all topics by default. Subscribe has no effect. +26 12:52:47, mm2_main::database::my_orders:45] DEBUG Inserting new order ae12e7da-7700-4d76-a676-5510d210602c to the SQLite database +26 12:52:47, mm2_main::lp_ordermatch:2559] DEBUG Inserting order OrderbookItem { pubkey: "022cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420", base: "RICK", rel: "MORTY", price: Ratio { numer: 9, denom: 10 }, max_volume: Ratio { numer: 9, denom: 10 }, min_volume: Ratio { numer: 1, denom: 9000 }, uuid: ae12e7da-7700-4d76-a676-5510d210602c, created_at: 1727355167, base_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], rel_protocol_info: [145, 168, 115, 116, 97, 110, 100, 97, 114, 100], conf_settings: Some(OrderConfirmationsSettings { base_confs: 1, base_nota: false, rel_confs: 1, rel_nota: false }) } +26 12:52:47, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(88aad685cf37ac14) +26 12:52:47, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:47, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:47, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:47, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(88aad685cf37ac14) +26 12:52:47, libp2p_tcp:766] DEBUG Incoming connection from /ip4/127.0.0.1/tcp/59120 at /ip4/127.0.0.208/tcp/47771 +26 12:52:47, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event IncomingConnection { connection_id: ConnectionId(1), local_addr: "/ip4/127.0.0.208/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59120" } +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /noise +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /noise +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /yamux/1.0.0 +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /yamux/1.0.0 +26 12:52:47, yamux::connection:345] DEBUG new connection: 2cce0b1f (Server) +26 12:52:47, libp2p_swarm:741] DEBUG Connection established: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") Listener { local_addr: "/ip4/127.0.0.208/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59120" }; Total (peer): 1. +26 12:52:47, libp2p_gossipsub::behaviour:3169] DEBUG New peer connected: 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 +26 12:52:47, libp2p_gossipsub::behaviour:3172] DEBUG Sending IAmRelay to peer PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") +26 12:52:47, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event ConnectionEstablished { peer_id: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2"), connection_id: ConnectionId(1), endpoint: Listener { local_addr: "/ip4/127.0.0.208/tcp/47771", send_back_addr: "/ip4/127.0.0.1/tcp/59120" }, num_established: 1, concurrent_dial_errors: None, established_in: 3.765149ms } +26 12:52:47, yamux::connection:459] DEBUG 2cce0b1f: new outbound (Stream 2cce0b1f/2) of (Connection 2cce0b1f Server (streams 0)) +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /ipfs/ping/1.0.0 +26 12:52:47, yamux::connection:459] DEBUG 2cce0b1f: new outbound (Stream 2cce0b1f/4) of (Connection 2cce0b1f Server (streams 2)) +26 12:52:47, multistream_select::dialer_select:134] DEBUG Dialer: Proposed protocol: /meshsub/1.1.0 +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /ipfs/ping/1.0.0 +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /ipfs/ping/1.0.0 +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /ipfs/ping/1.0.0 +26 12:52:47, multistream_select::dialer_select:183] DEBUG Dialer: Received confirmation for protocol: /meshsub/1.1.0 +26 12:52:47, libp2p_gossipsub::behaviour:3746] DEBUG New peer type found: Gossipsub v1.1 for peer: 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 +26 12:52:47, libp2p_ping::handler:298] DEBUG latency to 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 is 0ms +26 12:52:47, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Ping(Event { peer: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2"), connection: ConnectionId(1), result: Ok(537.987µs) })) +26 12:52:47, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /meshsub/1.1.0 +26 12:52:47, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /meshsub/1.1.0 +26 12:52:47, libp2p_gossipsub::behaviour:3586] DEBUG Handling IncludedTorelaysMesh message for peer: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2"), is_included: true +26 12:52:47, libp2p_gossipsub::behaviour:3599] DEBUG Adding peer PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") to included_to_relays_mesh +26 12:52:49, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:49, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:49, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:49, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:52:49, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:50, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:50, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:50, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:50, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 0 peers. +26 12:52:50, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:50, libp2p_gossipsub::behaviour:1952] DEBUG Handling subscriptions: [Subscription { action: Subscribe, topic_hash: TopicHash { hash: "orbk/MORTY:RICK" } }], from source: 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 +26 12:52:50, libp2p_gossipsub::behaviour:2003] DEBUG SUBSCRIPTION: Adding gossip peer: 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 to topic: TopicHash { hash: "orbk/MORTY:RICK" } +26 12:52:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(Gossipsub(Subscribed { peer_id: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2"), topic: TopicHash { hash: "orbk/MORTY:RICK" } })) +26 12:52:50, multistream_select::listener_select:231] DEBUG Listener: confirming protocol: /request-response/2 +26 12:52:50, multistream_select::listener_select:290] DEBUG Listener: sent confirmed protocol: /request-response/2 +26 12:52:50, mm2_p2p::behaviours::request_response:321] DEBUG Received a request from PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") peer +26 12:52:50, mm2_p2p::behaviours::atomicdex:739] DEBUG Swarm event Behaviour(RequestResponse(InboundRequest { peer_id: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2"), request: PeerRequest { req: [129, 0, 129, 0, 146, 164, 82, 73, 67, 75, 165, 77, 79, 82, 84, 89] }, response_channel: ResponseChannel { sender: Sender { complete: false } } })) +26 12:52:50, mm2_main::lp_ordermatch:657] DEBUG Got ordermatch request GetOrderbook { base: "RICK", rel: "MORTY" } +26 12:52:50, mm2_main::lp_ordermatch:1093] DEBUG maker_order_cancelled_p2p_notify called, message MakerOrderCancelled(MakerOrderCancelled { uuid: CompactUuid(ae12e7da-7700-4d76-a676-5510d210602c), timestamp: 1727355170, pair_trie_root: [0, 0, 0, 0, 0, 0, 0, 0] }) +26 12:52:50, libp2p_gossipsub::behaviour:2751] DEBUG Forwarding message: MessageId(78eae382c706e363) +26 12:52:50, libp2p_gossipsub::behaviour:2802] DEBUG Sending message: MessageId(78eae382c706e363) to peer PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") +26 12:52:50, libp2p_gossipsub::behaviour:2839] DEBUG Completed forwarding message +26 12:52:50, libp2p_gossipsub::behaviour:709] DEBUG Topic: TopicHash { hash: "orbk/MORTY:RICK" } not in the mesh +26 12:52:50, libp2p_gossipsub::behaviour:744] DEBUG Published message: MessageId(78eae382c706e363) +26 12:52:50, mm2_main::database::my_orders:117] DEBUG Updating order ae12e7da-7700-4d76-a676-5510d210602c in the SQLite database +26 12:52:51, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:51, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:51, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:51, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:51, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:52, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:52, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:52, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:52, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:52, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:53, libp2p_gossipsub::behaviour:2151] DEBUG Starting heartbeat +26 12:52:53, libp2p_gossipsub::behaviour:2483] DEBUG HEARTBEAT: Fanout low. Contains: 0 needs: 8 +26 12:52:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 0 peers +26 12:52:53, libp2p_gossipsub::behaviour:4021] DEBUG RANDOM PEERS: Got 1 peers +26 12:52:53, libp2p_gossipsub::behaviour:2594] DEBUG Gossiping IHAVE to 1 peers. +26 12:52:53, libp2p_gossipsub::behaviour:2545] DEBUG Completed Heartbeat +26 12:52:53, libp2p_gossipsub::behaviour:1352] DEBUG Handling IWANT for peer: PeerId("12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2") +26 12:52:53, libp2p_gossipsub::behaviour:1400] DEBUG Completed IWANT handling for peer: 12D3KooWH7WFPzFRuZpfoERy3nPezNxo8mHJy2newu4qRbZD6Jz2 +26 12:52:53, mm2_p2p::behaviours::atomicdex:226] DEBUG start request_any_peer loop: peers 0 +26 12:52:53, mm2_p2p::behaviours::atomicdex:245] DEBUG None of the peers responded to the request +test mm2_tests::mm2_tests_inner::test_cancel_order ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 117 filtered out; finished in 9.80s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 10 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 15 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 51 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 289 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 42 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 4 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 99 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test