beta-2.1.3084: Few additions to dex fee validation (#827)
Pre-release
Pre-release
Changes:
- 0457a74 Few additions to dex fee validation (#827)
- a96e698 Fix bad-txns-nonfinal on UTXO HTLC refunds. #544 (#822)
- 1be7cb5 Merge pull request #824 from KomodoPlatform/fix-max-taker-vol
- faa428b Fix max_taker_vol_from_available
- 64f41f3 Fix clippy.
- 375bb56 Do not process zero or hashed_null_node pair trie roots. [ #807 ]
- 0f36d9b Hot fix. Stop gossipsub polling_fut when stopping mm2.
- fe47030 Add index for started_at in stats_swaps #819
- f386038 Hot fix. Wrap SQLite connection into mutex #818
- 6649b38 Hot fix. Return 0 from max_taker_vol if balance is not sufficient.
See More
- e423b05 Allow to request orderbook without coins activation #670 (#817)
- 0096384 Fix GRS tx signing and hash calculation #460 (#815)
- 76c2f7b Pass coin dust to dex fee amount (#813)
- 0734e7a Fix the balance checking at the start of swap (#812)
- 0a46839 Index swap statistics to SQLite database #799 (#809)
- 3460d79 Move wait_log_re!(mm_bob, 22., "INFO Listening on") upper.
- 5ef6942 Remove bch0.kister.net:50001 from test_withdraw_cashaddress.
- 241d54b Return M/TakerSwapEvent instead of the error to avoid panic #810
- 45f3a7a Sort asks (best last) and bids (best first) in orderbook response. [ #457 ]
- c487e58 Cancel previous order before balance checks on setprice #794
- 12cf6a0 Add UTXO-specific estimate_fee_blocks param to coins file #656 (#804)
- 25272e5 Mm2.1 refactor get trade fee (#797)
- 9dc6aea Fix FIRO verbose tx deserialization #772
- 7fe96eb Merge pull request #800 from KomodoPlatform/mm2.1-all-swaps-uuids-by-filter [ #785 ]
- b8180f5 Add all_swaps_uuids_by_filter RPC.
- 9d9cd70 Additional filters support in my_recent_swaps #784. (#796)
- 3cc42ed Merge QRC20 Native Mode into mm2.1 (#786) [ #779 ]
- 7b510fb Remove C code completely. Refactor ordermatching logs. #773 #767 (#776)
- 233b5a4 Make the TxFeeDetails tagged #782 (#783)
- 014c4ea Add page_number to my_tx_history and my_recent_swaps. Add active_swaps RPC. [ #780, #781 ]
- c6cf54a Fix the maker recover funds RPC call #774 (#775)
- 90db2b0 Add p2p.connected_peers.count metric.
- e3661f3 Add convert_utxo_address RPC call.
- 3918a3d Replace gossipsub received messages from lru::LruCache with TimeCache (#766)
- f66fcc0 Spawn init_metrics on CORE to run on tokio runtime and avoid panic.
- 0eb3342 Add explicit_relay_list and forcefully keep peers from it in relay mesh.
- ecff611 Add PeerIds to ALL_NETID_7777_SEEDNODES.
- d488b39 Add ALL_NETID_7777_SEEDNODES to known peers on init.
- e78ba12 Some improvements of peers_exchange.
- ad076e1 Some improvements of peers_exchange.
- 2fb3b07 Remove opt-level = 1 for dev and test profiles.
- b7f5a2c Add max_merge_at_once to UtxoMergeParams with default value of 100.
- ca5503a Add utxo_merge_params for UTXO coins.
- 6fa7982 Fallback to getaddressinfo to check whether address is imported to daemon. [ #761 ]
- 1f43232 Merge pull request #760 from lightspeed393/mm2.1
- 9a31fc6 Readme: update rustup nightly version
- 19701cc Call Swarm::listen_on only on relay nodes.
- a831432 Upload release binary to nightly server during CI build.
- 9d9cf1f Remove unwrap in check_balance_update_loop.
- 3de21d9 Do not connect to already connected peer from peers_exchange
- 6dad1bb Set nightly-2020-10-25 as default in Dockerfile.ubuntu.ci.
- b53ee07 Replace println! where it's possible, fix clippy warnings
- ba540b6 Forward log entries to mm_log
- e51b7d3 Ignore test_limit_reached_true on all platforms.
- 092d8ea Fix tests and ignore failing on MacOS.
- cd0b76f Add +nightly for release binaries compilation.
- d879b28 Enable Github release of mm2.1 branch.
- 9fb94fb Add winapi to the main Cargo.toml dev-dependencies.
- ebe7404 Add winapi back to build-dependencies.
- 77cb7ba Move winapi to dependencies list from dev deps for common crate.
- c29d97c Move crash_reports to common crate to fix linking issues on Windows.
- 1a60821 Fix a bug when taker swap failed on start with specific balance on address.
- d1ba955 Fix various ordermatching bugs.
- 392f559 Fix reconnection to peers from peers_exchange
- 54d206f Fix clippy warnings.
- edf5a67 Merge remote-tracking branch 'origin/mm2.1' into mm2.1
- 58f3a62 Generate new peer id every time on start_gossipsub
- 77b198b Extend alice_can_see_the_active_order_after_connection test
- 7c89a6c Log buy/sell request and response and orderbook response.
- 935c43b Mm2.1 testing refactoring (#753)
- 032a12f Hot fix buy/sell/my_orders response format and ensure that maker order is deleted on cancel.
- 907308a Use hardcoded seednodes for 7777 netid if not set in config.
- dc46f4c Implement orderbook request (#744)
- f5c4418 Add the env_logger error handling #748 (#749)
- 828e55a Fix after merge.
- 81ea63b Merge remote-tracking branch 'origin/mm2' into mm2.1
- 91fcacc Fix max_taker_vol. Take min dex fee and KMD discount into account. #733 (#734)
- 15a225a Avoid long handling locks in electrum_request_to. Ensure server.version is sent first. [ #745 ]
- eae5f15 Bump version in CI pipeline to 2.1.
- b72a4bf Merge pull request #743 from KomodoPlatform/mm2.1-qrc20-swap
- e3d2612 Fix clippy.
- 69f8c77 Add TODO for UTXO_LOCK to RecentlySpentOutpoints cache refactoring for QRC20.
- 631970c cargo +nightly clippy.
- d434935 Fix clippy warnings and enable the clippy check on CI back.
- 60e734e Fix mocking of list_unspent_ordered.
- 82fbcea WIP.
- c68b232 Fixes after merging QRC20 swap integration.
- 7f14cd3 Merge remote-tracking branch 'origin/mm2' into mm2.1
- 914914a Merge branch 'mm2' into mm2.1
- 48de827 Mm2.1 new order keep alive and refactor (#742)
- 5b70ff3 Qrc20 swap #621 (#735)
- e8fa43d Libp2p swap messages rebroadcast + huge refactor and improvement (#739) [ #473 ]
- 2573d2c Libp2p peer discovery floodsub + libtorrent remove. (#730)
- ce6a3cd Add get_relay_mesh RPC. Add more logging.
- 31d1803 Merge pull request #727 from KomodoPlatform/fix-qrc20-withdraw [ #721 ]
- cb3d7be Do not extend relayers_mesh if its len > mesh_n_high.
- 12433d1 Fix TransactionDetails is returned from QRC20 withdraw if req.max is true
- f1d4294 Perform proper clean up of peer connections.
- 607f653 Limit the number of order requests from other peers. (#726)
- 7ee2184 Return order_type in buy/sell responses #725.
- 12e65d9 Increase AtomicdexBehaviour channels capacity to 100.
- 903e98a Remove some unused code. Use bounded channels in AtomicdexBehaviour.
- 31772ed Ensure cancel message is broadcast to network on "cancel_all_orders".
- bdea167 Send MakerOrderCreated instead of first KeepAlive.
- c9c31c4 Turn off clippy temporary on CI.
- e2113b1 Fix after merge with mm2 actual state.
- 676d836 Merge branch 'mm2' into libp2p-gossip-sub-ordermatch
- e07ab29 Fix PeerIdSerde serde. Add connected relays to known peers if not known yet.
- 57958ce Log "Published message..." message to debug level.
- 286af7e Announce only ipv4 global addresses. Set default log level to info.
- 2b7ca75 Update libp2p, try to use Yamux as there're problems with Ping&Mplex combination.
- 2d0c07e Add "max" max param to my_tx_history.
- ccf11f2 Qrc20 wallet only #621 (#672)
- a511b77 Fix macos build when latest clang is used #718 (#719)
- c8c0c93 Add peer discovery/exchange working on top of request response also using reserved gossipsub topic. (#717)
- dbd84a1 Libp2p fix issues (#716) [ #2 ]
- 103e7e7 Merge pull request #713 from KomodoPlatform/libp2p-request-orderbook
- 0194d42 Remove send_msgs_to_peers used to repeat an order
- e99e2aa Remove ResponseOnRequestAnyPeer and ResponsesOnRequestPeers
- fb135cf Make request of orders optional on subscribe_to_ordermatch_topic()
- 035b697 Minor refactoring, fix atomicdex_behaviour tests
- 7b2c365 Minor optimization
- e8386b3 Rename request_peers to request_relays and request_any_peer to request_any_relay
- 280fab9 Refactor orderbook RPC call
- 5dabc4c Optimize and refactor orderbook requesting
- 7c6c4fa Add AdexBehaviour::RequestPeers and implement request_peers()
- ff31185 Replace AdexResponse within RequestAnyPeer::response_tx with ResponseOnRequestAnyPeer
- 88e8dd6 Optimize the orderbook:
- 8e9e783 Implement request_orderbook and process_get_orderbook_request
- cffb001 Add the test_process_order_keep_alive_requested_from_peer green test
- 764b5ca Fix the libp2p dependencies errors
- c230e17 Fix the PR issues
- a04f344 Wrap Ping behaviour to forcefully disconnect peer in case of ping error.
- 87c4e50 Merge pull request #711 from KomodoPlatform/libp2p-request-response
- 73484be Fix rustfmt warnings
- 90bf9bf Merge branch 'libp2p-gossip-sub-ordermatch' into libp2p-request-response
- 5f4e734 Refactor and fix clippy warnings
- 24e330b Add the process_get_order_request()
- 328fc78 Integrate the lp_network::request_any_peer() to the process_order_keep_alive()
- d10688f Return KeepAlive::Yes for GossipsubHandler. Try to put Ping before Gossipsub in AtomicDexBehaviour fields.
- d88692a Set KeepAlive::No for GossipsubHandler.
- 851782e Comment GossipsubEvent::Subscribed handling temporary.
- 1f7ad5e Log ping events. Investigate "Message over the maximum transmission limit was not sent.".
- 0132598 Fix test_request_response_none used ports
- 423e01b Add test_request_response_none green test
- c853e8e Add test_request_response_ok_three_peers green test
- e57271d Add the RequestResponseBehaviour events processing to lp_network
- e7cc7de Refactor RequestResponse implementation:
- ba4c257 Add Ping to AtomicDexBehavior.
- 65d1d96 Merge branch 'libp2p-gossip-sub-ordermatch' into libp2p-request-response
- 17713aa Add the AdexResponse and AdexBehaviourEvent
- c20fa57 Refactor the RequestResponse test
- 2a9a42a Send max 1/20 of node orders number at once on broadcast_maker_keep_alives.
- bcb6cf7 Finish relayer mesh maintenance. Enable manual gossip message propagation.
- 9062f97 Fill relayers mesh up to mesh_n peers.
- 2d34f7d Relayers mesh and peer discovery in progress.
- 4f1761c Properly set max transmit size through gossip config.
- 52639d7 Log total messages size to transmit in handle_peer_subscribed.
- 9a0dd4a Temporary increase max transmit size to 5MB.
- d62e826 Try to delay for 5 seconds before broadcasting first swap message to topic.
- ef404cd Increase maker order timeout and disable default debug logging.
- 9fc2397 Add and implement RequestResponse behaviour to the AtomicDexBehavior
- 0ba8b9b Remove topic subscription and 1 second delay when on Subsribed event.
- 11fc911 Store the order to restore without network request in case of new keep alive.
- 7168439 Notify all connection handlers on gossipsub event.
- e5b4c65 Subscribe to PEERS topic upon swarm creation.
- 039804f Use tokio runtime as executor for libp2p Swarm.
- b333423 Use tokio tcp transport instead of async std.
- 45b1690 Remove excess subscribe calls in maker_order_created_p2p_notify.
- abce553 Log every attempt of my_maker_orders.lock().
- 1c8bbf4 Do not forward message to relayer from which message was received.
- 2f104b2 Add i_am_relay to gossipsub config which means that node is subscribed to all topics.
- 0c057f6 Always send Subscribe to all peers.
- 0a63273 Add 1s delay between topic subscription and handle_peer_subscribed in gossip_event_process_loop.
- 8d72370 Add 1s delay between topic subscription and message broadcast in maker_order_created_p2p_notify.
- 7111a97 Add more informational API calls to check gossip state.
- 20c8e11 Add and implement kmd_rewards_info RPC call #676 (#708)
- 8243906 Use mplex only transport. Add get_gossip_mesh API.
- 9c4ab23 Also use sequence for MessageId as we can repeat message with same content.
- 69da5f5 Request order from network if keep alive is received for unknown order.
- 023c187 WIP.
- e849a97 Reconnect to relayers if connection is lost for some reason.
- a305a2e Fix clippy.
- dbf81c0 Add get_peers_info API.
- 61c6576 WIP.
- a45cecc WIP. Reconnection to relayers in case of errors.
- e7efc30 Add sender pubkey validation for cancel order, connect and connected messages.
- 9d6d99d Relayer subscribes to topic when other peer is subscribed.
- a260464 Check that order keep alive and swap messages are signed by right keypair.
- ab7fbea Fix clippy warnings.
- cd00d7f Implement simple order keep alive protocol. All tests pass.
- 1c5b701 WIP. 1 test left to fix.
- 0d788c4 WIP. Compiles, some tests still fail.
- 2f438a4 WIP. Compiles, but tests fail.
- 8c2bf3f Refactored seednode loop to tokio and async. (#631)
- b6a0fc1 WIP.
- 368b712 WIP. Temporary exclude this branch from CI because compilation fails now.
- 850139e Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-sub-ordermatch
- e51a128 Ensure conf_settings are always set in MakerReserved message #702
- 9ca687f WIP.
- 6bf419c Fix tx history when cash address format is used #698 (#699)
- 8a5bc6e WIP.
- 912c517 Add cashaddress convert call #694 #693 #691 (#695)
- 8427f6e Fix clippy and fmt.
- 7a4a500 Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-sub-ordermatch
- 1bcfb7a Copy gossipsub implementation to use as our own customized behavior.
- bda7a24 Add libMM2 for Linux/Windows #696 (#697)
- 7a5165e Refactor swap messages exchange.
- e1f4e82 WIP. All tests pass.
- 620e05c Fix tests compilation.
- b94d8e5 WIP. Fixing clippy warnings.
- e95c707 WIP. Fixing clippy warnings.
- 22eec73 Apply rustfmt fixes.
- 02a3aee WIP. All tests pass.
- a017859 Fix after merge.
- 311ee7b Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-sub-ordermatch
- 8a284f0 Integrate Cargo Clippy and probably rustfmt into CI scripts #687 (#690)
- c7e7df0 WIP. Some tests fail.
- 6d1e578 WIP. Some tests fail.
- 4e124e4 Remove protobuf. Use MsgPack. Adding new ordermatch protocol messaging structs.
- 8173c46 Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-sub-ordermatch
- 5cfb6bf Binary formats test.
- 08d013c Remove locked_by_swaps field from my_balance/electrum/enable #689
- 281d6ec Conf settings sync and locktimes optimization. (#682) [ #568, #659, #660 ]
- 1f6c1ce Use protobuf encoding for MakerOrder wrapped in SignedMessage.
- 2ef1ddd Comment investigate_peer and peers::initialize.
- 00317c9 WIP. Protobuf. Implementing SignedMessage.
- f36c8a6 WIP.
- 03d9a90 Add 'is_mine' field to the orderbook response #669 (#688)
- 03cf5d2 Sleep for 3 seconds in swaps_should_stop_on_stop_rpc.
- d3c4907 Fix after merge.
- dfbd5b1 Merge remote-tracking branch 'remotes/origin/mm2' into libp2p-gossip-sub-ordermatch
- 1bbffa4 Electrum server version #661 (#681)
- 72073d3 Fix compatibility by returning amount as decimal in get_trade_fee. [ #683 ]
- 5fd0e96 Refactor balance checks upon order creation and swap start #630 (#671)
- 5f4d732 Use MORTY for get_tx_details_coinbase_transaction test (VRSC is down).
- fa1294a Merge pull request #674 from KomodoPlatform/remove-etomic [ #657 ]
- a4dce80 Remove ETOMIC, PIZZA and BEER coins
- 027db75 Change time_offset of NetworkInfo to i64 as it can be negative #673
- cf78017 Add 10% to average gas price from station, but no less than 1 gwei #667
- f2d1603 Use MTP as tx lock time for KMD interest claim #593 (#658)
- 9006a9f Add cashaddress support #466 (#666)
- 3a9680f Do not include EstimateFeeMode to request if it is None #651
- 8496d71 Allow to set estimate_fee_mode in config #651
- 4f54c3c Update tx data in history after confirmation #652
- 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
This list of changes was auto generated.