Skip to content

beta-2.0.1991: Add Fraction MmNumber representation #649 (#650)

Pre-release
Pre-release
Compare
Choose a tag to compare
@artemii235 artemii235 released this 27 May 10:23
369a2e2

Changes:

  • 369a2e2 Add Fraction MmNumber representation #649 (#650)
  • e1dac77 Taker swap is not recoverable when MakerPaymentWaitConfirmFailed #647
  • cc20999 Save secret hash to additional OP_RETURN out #639
  • 96c3641 Add gas price to gas estimation request on ETH/ERC20 withdraw #643
  • 584397d Add get_addr_nonce 30 seconds timeout to withdraw_impl #644
  • 51dc0a7 Build Github release using Ubuntu 16.04 Docker image #624 (#642)
  • b1b4c23 Add and implement metrics module #612 (#622)
  • 735eddf Use secret hash directly if it's available in maker swap recover funds [ #641 ]
  • a00c286 Add batch requests support #637
  • 57509c9 Broadcast the message when previous order is cancelled on set price. [ #635 ]
See More
  • df95403 Prevent maker from processing request and connect messages twice.
  • bb8578e Log the warning instead of panic on orders files removal error. #627
  • 0ef0212 Stop swaps on "stop" RPC call. Add swaps file locks. #626 (#628)
  • aee8d84 Use non-final sequence to fix send_maker_refunds_payment #544
  • 02f1ff6 Use relay fee if dyn. fee < relay fee if force_min_relay_fee is true #617 (#619)
  • 7d10c66 Electrum extended error msg #611 (#614)
  • d7e666a Merge pull request #615 from KomodoPlatform/datetime
  • 51dca04 Add MM_DATETIME into version output
  • 9926eb1 Implement RPC sim_panic
  • 9826e57 Make MmNumber a wrapper of BigRation #608 (#613)
  • 34dd28d Add match_by and order_type fields to buy/sell methods #606 #607
  • 21b8a57 Put Build and Push Docker Release image condition at right place #600
  • 953ff17 Try to use Azure Pipelines task to build and push docker release image #600
  • fa12d28 Enable Github release back.
  • f1d096d Build and push official MM2 image to Docker Hub #600 (#605)
  • 9884f18 Fix UTXO get_tx_details_by_hash fails on coinbase transactions. #587 (#604)
  • a7f428a Disallow creation of orders with base or rel volume < 0.00777 #481
  • 2c4bec8 .gitignore "/coins because "coins" also ignores coins crate dir which is unwanted.
  • e01d8ac Add list_banned_pubkeys and unban_pubkeys APIs #597
  • 3dd9de2 Fix UTXO get_tx_details_by_hash deadlock by replacing wait() with await #592 (#596)
  • 798b5a1 Merge pull request #595 from KomodoPlatform/mm2-gstuff
  • 475bd46 Add requires_nota field to swaps data #591
  • 922a8ed Fix WASM build.
  • f0bc743 Add access to ISATTY for build script
  • afd2148 Upload binaries to existing release if they were not uploaded #589 (#594)
  • c82f84d Clean upload dir and recompile debug build on release stage #589
  • b5ad65b Use boost link download from KomodoPlatform fork releases.
  • 9711b7f Add required_confirmations, require_notarization to enable/electrum [ #586 ]
  • e82af51 Increase a hardcoded UTXO swap tx spend size to 305, use kilobyte size = 1000 #588
  • 3ef17e6 Increase a hardcoded UTXO swap tx spend size to 305 #588
  • a2d3c9a Add show_priv_key API #519
  • bbaf7da Use dynamic fee for coins with txfee:0, use 1000 sat if txfee is not set #493
  • 0f11b2d Add "requires_notarization" field to coins config #577
  • 0c98ca3 Ensure that Release stage does not run if Build stage failed. (#585)
  • e3bf6ab Use right target/debug dir for MacOS debug build upload.
  • 3384bf2 Setup automatic Github release publishing on mm2 branch. (#584)
  • 5f079ef Add #![allow(uncommon_codepoints)] to suppress warnings.
  • 8a7fd86 Fix docker_tests_runner after Rust update.
  • 00bfd6b Merge pull request #583 from KomodoPlatform/mm2-rust
  • cf4c4e6 Recommend Rust 2020-02-01 (1.41)
  • fba4fdf Add MakerPaymentWaitRefundStarted and TakerPaymentWaitRefundStarted swap events #582
  • da8a0bf Fix tests by using Infura for ETH Ropsten testnet.
  • 79ab7eb Resolve Electrum servers IP every time (re)connection is required #558
  • bdfe38c Maker and taker now wait for theirs payments confirmation #580
  • c9ebeb1 Pin libtorrent version to 1.2.2 as tests start to fail after 1.2.3 was released #581
  • a5fa0e7 Wait for swap payments confirmations longer. Emit new event in case of error #579 #580
  • 401425c test_check_balance_on_order_post was false passing.
  • 5a79d61 Fix tests by using RICK/MORTY instead of BEER/PIZZA.
  • f114ccb Fix tests.
  • 555b51d Allow withdraw of UTXO coins to P2SH addresses if segwit flag == true [ #506 ]
  • 20cda8c Fix tests.
  • 546426b Fix ZEC support after Blossom upgrade #574
  • a900fc6 Ban pubkey until restart in case of swap failure by other's side fault [ #571 ]
  • d7937cc Fix NAV coin support #461
  • 3ac871d Drop the connection to seed if no data was received in 30 seconds #569
  • 766d23e Reconnect to the seed when EOF is reached on read #569
  • 7dcb678 Avoid the coins block_on
  • ce65f31 Use dashboard to track waiting for ETH tx confirmations
  • fbb5cba Edit DuplexMutex description [ #561 ]
  • 79165cb Track status deadlines and start dashboard thread [ #561 ]
  • 7be380b Remove references from StatusHandle [ #561 ]
  • 8801999 Merge branch 'mm2' of github.com:KomodoPlatform/atomicDEX-API into mm2
  • 71aa3d0 Skip errors when requesting ETH address nonce #560
  • 841f82e Bump the demo version
  • 737ae6e Port "orderbook"
  • 1c24cdd Add MM_CONF_PATH and MM_COINS_PATH env to set conf and coins location. [ #562 ]
  • c5c9a57 Increase the WAIT_CONFIRM_INTERVAL as it was set to 1 for debugging [ #561 ]
  • 0b9e5d3 Make account optional in ListTransactionsItem as it might be missing [ #563 ]
  • 2c9424d Log the fallback server error message [ #564 ]
  • 4b1b30d Clear hf_poll earlier in order not to poll twice [ #564 ]
  • 8e3e545 Tune trade_base_rel_electrum up to "orderbook"
  • 1c01d1e Preserve the knowledge of the QEMU/Raspbian build
  • f66f111 Port slurp
  • 20d0c17 Link with -latomic on Raspbian [ #501 ]
  • 718cfa9 Port my_swap_status and my_recent_swaps
  • 867fcd2 Port save_my_taker_swap_event
  • d357c7c Port save_my_maker_swap_event
  • 29e5fb9 Merge branch 'mm2' into mm2-wip
  • bbbf39d Port lp_connect_start_bob
  • 93610a3 Cancel the maker order when available balance < 0.00777 #554
  • 5df6b04 Merge pull request #557 from KomodoPlatform/mm2-setprice-max [ #471 ]
  • 21e81ef Deduct the fee from order volume on setprice max. Refactoring #471
  • 007fac3 Use only logical CPU count for libtorrent.
  • 07890fa Switch remaining MaybeUninit
  • 043e792 Increase the min processes bound for libtorrent to 16.
  • 1019c60 Fix tests by removing no more working test3.cipig.net.
  • 218b81b Port lp_connected_alice
  • 0352ad8 Refactor swaps to async. Add wasm-bindgen as optional feature. (#556)
  • 92b9bae Fix PricePingRequest locks
  • 40332e5 Proxy and trace block_on
  • be3bbf0 Port lp_ordermatch_loop
  • 099c49a Remove "seed broadcast" log as it hardly spams on seednodes.
  • 3eca86e Add more fields to Maker and Taker saved swaps #552
  • e6595b6 Enable docker_tests back.
  • 5a5317d Tap from seed instance
  • 9687d15 Start ordermatching loops
  • 5646ab3 Port lp_command_q_loop
  • af097bf Port buy
  • 2b9ec4d Reduce the number of cc processes gradually
  • 0e9897b Limit the number of build processes if memory low [ #501 ]
  • 6a9765b Port save_my_taker_order
  • e3f2d08 Limit the number of libtorrent build processes [ #501 ]
  • 1234772 Port new_uuid
  • 6634985 Timeout when host electrum is silent
  • d48f3c5 Port get_token_decimals
  • cc84571 Merge branch 'mm2' into mm2-wip
  • 32658be Restore coin spec
  • 3a6ac67 Implement slurp_req helper for Web3
  • b2c319b Port RPC sell
  • 87fc4be Use new instead of new_raw to construct BigRational so it's reduced.
  • 033a769 Pass Electrum requests and replies
  • 07ca552 Poll lp_post_price_recv
  • 3f1169a Port Electrum connection
  • c263f59 Port Electrum boilerplate to green threads
  • 6f6ce5a Fix deserialization of tx having witness inputs with empty scriptSig #540
  • 896835b Add import_swaps API #543
  • 2074c9e Add secret_hash field to MakerSwapData #536
  • d5860fb Add recoverable field to my_swap_status and my_recent_swaps #542
  • b9f7f42 Remove price rounding in orderbook as it also displayed as rational.
  • 105ab21 Remove hardcoded txversion 4 and overwintered 1 for KMD and AC.
  • 059381c Remove few previously deprecated fields from OrderbookEntry.
  • 34ba3dc impl Display for MmNumber making errors more human-readable.
  • 0762edd Allow to set rational numbers as orders price and volume #537 (#546)
  • a2c7e14 Invoke RPC handling from ported test
  • 6698934 Bump gstuff to skip rdtsc
  • dfe63cc Reuse the ready vec
  • cc61ccc Use a dedicated thread in Timer
  • d10e6c6 Wait for RPC on the helpers
  • 521cbd0 Bump regex
  • be5a5e3 Start the client p2p loop on a helper
  • d548d48 Port wait_for_log
  • 327558f Experiment with threads
  • dba7407 Bump crossbeam
  • 68cbdae Use dockerized utxo coin daemon in integration docker_tests crate. (#539)
  • f252ced Run lp_init on a green thread
  • 12a40a6 Continue electrum connect loop when Ok is returned.
  • 2bc630c Fix deserialization of Zcash tx ver 2 with join splits.
  • e88974e Don't try to reuse IPs
  • 4139232 Invoke lp_init; delay IP reuse
  • 58c4783 Add a verbose wait_log_re
  • 670ec51 Make wait_for_log async
  • b562b59 Stub mm_dump
  • 3e42fe1 Add required_confirmations config and API #483
  • 9ffb2d9 Some utxo tests require forced seed phrase.
  • bec74d9 Use BOB_PASSPHRASE env in utxo_coin_for_test if present.
  • a5d5936 Disable BEER/ETOMIC trade test as BEER blockchain got stuck again.
  • cdc25f2 Port some of MarketMakerIt::start
  • 0392003 Merge remote-tracking branch 'origin/mm2' into mm2
  • 43c008d Display uuids of active swaps or orders if disable_coin fails.
  • 50b0727 Prepare to port MarketMakerIt
  • 9a3071f Flip to futures 0.3 after c73dd5e
  • 1cfbfd3 DRY in cancel_orders_by. Add few tests.
  • c73dd5e Add "disable_coin" API #459 (#531)
  • b4aff12 Port obtaining test passphrase
  • 1e8f3f5 Abort NONCE_LOCK when MM instance stops [ #525 ]
  • 018853c Add n_time to transaction if isPoS == 1 #530
  • 750f876 Add NONCE and UTXO locks tests #525
  • 44cc706 Allow for a longer preemptive pause
  • b42d63a Prep to run trade_test_electrum_and_eth_coins
  • 83dbc9f Use Option instead of generic JSON #528
  • f4f2e75 Reproduce 3b8d44a
  • 5a852ae Merge
  • d3f9408 Bump the Docker demo
  • f44ffec Wait for RPC server to start
  • 3b8d44a Update several dependencies.
  • 61f702c Use platform-specific path for native mode coin daemon conf #498
  • 36aa980 Invoke peers_drop_send_handler
  • 6162db7 Run the native helpers process
  • ae3b858 Add locked_by_swaps to enable and electrum responses #482
  • f79bf14 Port most of peers helpers to rpc
  • c9dee01 Update gstuff.
  • 91b80c8 Allow to set transaction fee in withdraw method params. (#527) [ #525 ]
  • 0206a5f Propagate errors
  • 8e90914 Invoke ctx2helper via binary RPC
  • d30c429 Add uuid field to PricePingRequest. (#524) [ #511 ]
  • 5569aba Add a missing c_int
  • 37e97cf Finish splitting out the build of portable core
  • 9b91042 Include the expected native wallet path in the error
  • 9bbf322 Unmention cmc_key
  • efa7974 Switch back to standard HashMap
  • 76321d1 Switch to gstuff nightly
  • 390a775 Remove G; switch to Tokio core
  • f0265d2 Add recover_funds_of_swap method #406 (#522)
  • c14765b Merge pull request #521 from KomodoPlatform/mm2-wip
  • f320581 Move LP_mypub25519 into MmCtx
  • 77d40e8 Merge pull request #520 from KomodoPlatform/mm2-wip
  • dea1cdf Use Constructible
  • ede9dda Timeout the peers test
  • 8895511 Support Waker, callbacks
  • b2aab61 Merge pull request #517 from KomodoPlatform/mm2-wip
  • eb23b16 Use a signed time delta
  • 0f52694 Allow for coarse concurrency
  • a7ac276 Switch rpc_client to portable spawn
  • 394b177 Bump demo version from FFI to HTTP
  • 8cf193c Bump Rust version in Docker files
  • ab11019 Redirect process logging to file [ #514 ]
  • 45a41d5 Print crash logs with writeln [ #514 ]
  • f1b64ec Use HTTP for initialize and send helpers
  • 83cbc96 Limit helper requests to localhost
  • 295f311 Implement signal handling without nix
  • cafe1bf Simulate a double-panic crash
  • b37584d Avoid recursion in the panic hook
  • 748c934 Use std::i32::MAX as max_conf for native list_unspent #507
  • 86ba49d Update README.
  • 9e22e2a Update README.
  • 0792189 Merge pull request #512 from KomodoPlatform/mm2-taker-tx-spend-wait-endless-fix
  • 78db72e Delete removed await_macro feature from mm2_lib.
  • 3a0ea95 Fix endless waiting for taker payment spend in electrum mode #502
  • 90c5ba8 Stop ignoring order_should_not_be_displayed_when_node_is_down.
  • 9fa9a45 Transform HyRes errors into JSON errors [ #492 ]
  • a0c3cf7 Add async/await rpc sample
  • 8ce2ee2 Explore HTTP communication with native helpers
  • 277d0db Skip some less informative frames in stacktrace
  • d603f2f Avoid {"askprice": null}
  • 4d94b88 Temporarily ignore MORTY
  • 4abcd4d Add the missing docu to round_to
  • 36d5bd9 Round prices in orderbook [ #495 ]
  • 4c3d1bf Limit precision of prices printed in orderbook [ #495 ]
  • 72e686a Share the original ask.price as is [ #495 ]
  • ef3ed47 Fix another i8/c_char mismatch [ #501 ]
  • ee80172 Return the price as a string in the orderbook [ #495 ]
  • 58fd22a Introduce async/await
  • 558da7d Build on Raspberry Pi, with unsigned c_char [ #501 ]
  • 095c507 Return the error message to HTTP client [ #500 ]
  • a5b1d57 Validate address prefix on withdraw #494
  • 5da0e0e Keep release debug symbols for just our code
  • 514e1c1 Pin Docker build
  • f236ad1 Merge branch 'mm2' into mm2-wip
  • 1c840f5 Prototype portable-native communication
  • 0464020 Mention coins file when parsing error happens.
  • 7d37df7 Prevent underflow for tx history block_height. Update timestamp == 0 #480
  • 582352f Do not keep coins mutex lock during the entire lp_coininit execution #479
  • a11359d Fix endless loop on wait_for_payment_spend in native UTXO mode #474
  • 9a8fcac Serialize serialization errors
  • 7c56e8c Merge
  • b1f286e Merge branch 'mm2-wip' of github.com:KomodoPlatform/atomicDEX-API into mm2-wip
  • 42ae0bd Serialize bits256
  • 4e9f53e Add stderr start mode: print a message to stderr and exit.
  • fef7e1d Retry on errors on payment spend wait. Fix android backtraces #468 #469 (#470)
  • 8b78e3d Simulate a panic

This list of changes was auto generated.