Skip to content
Pre-release

@artemii235 artemii235 released this Jul 15, 2019

Changes:

  • b08da3a Return JSON in "version" API call.
  • b06a06e Publish pipeline artifacts.
  • 829c632 Set MM_VERSION on CI builds. (#465)
  • 2a44aae Draft boilerplate for returning a string from a helper
  • e1302cd Catch up
  • 2769f36 Share context with helpers
  • cb58422 Remove 99.9% of C code #423 (#458)
  • 46cfc01 Replace MmCtx::new with default
  • a406948 Implement portable time, logging and panic
  • f504a93 Create and drop LogState once
See more
  • 03a3485 Stop using hardcoded 1/777 dexfee in check_i_have_enough_to_trade.
  • 64b5561 10% fee discount if 1 coin of pair is KMD. Min dex fee 0.0001.
  • 270439f Remove CJSON. Disable portfolio crate. Update build.rs #423 (#456)
  • 38ed05e Port orderbook RPC method to Rust #423 (#455)
  • bc982a7 Use test1-3 electrum servers in portfolio tests.
  • 714f0d3 Merge branch 'mm2' of github.com:artemii235/SuperNET into mm2
  • 8aa489b Switch BEER, PIZZA and ETOMIC to test*.cipig.net
  • f5e66de Access native code, POC
  • 872128d Move portability scripts to JS folder
  • dfe216d Run peers, proof of concept
  • 2e8e36b CI: short hash length 9. Stop adding full path to Linux/MacOS nightly.
  • 75ed2ca Build portable common and peers
  • 89ace7a Split bits256 into native and portable versions
  • ad5efaa Revert "Replace the bits256 with [u8; 32] in peers crate #423"
  • 99d0a32 Add portable version of bits256
  • 51754d5 Merge with pure Rust secp256k1
  • 8ae6fbb Replace eth-secp256k1 with pure Rust version everywhere but common.
  • e31bd72 Add change output size to default tx size on dynamic UTXO fee calc.
  • 9d01385 Opt out from eth-secp256k1 and zstd-sys
  • f03df55 Upgrade gstuff
  • cc2b154 Opt out from parity-wordlist
  • 83fbbd8 Opt out from rustc-serialize
  • 6ece241 Opt out from dirs
  • e548368 Avoid error_code virtual dispatch
  • d614a4e Add few checks on swap negotiation #329
  • 46f4d91 Stop using lp::LP_MIN_TXFEE amount for QTUM if it's not set in config.
  • 4047a37 Automatically detect available estimatefee method for native UTXO #425
  • c600a40 Merge pull request #453 from artemii235/mm2-peers-remove-bits256 [ #423 ]
  • 7c64c1d Replace the bits256 with [u8; 32] in peers crate #423
  • 4a10a6c Log errors happening inside web3 transport.
  • 226c730 Fix: fallback to block_height received in history response for UTXO.
  • b2b2bcb Merge branch 'mm2' of github.com:artemii235/SuperNET into mm2
  • 34c63c6 Add get_enabled_coins API #449
  • 68c611d Add .editorconfig for MD
  • 9da4842 Unpin the ring
  • e12fc53 Add get_trade_fee API.
  • c65d46b Merge pull request #452 from artemii235/mm2-wip
  • 7e87da5 Revert "Don't use the headers-only mode on Windows"
  • 7845a01 Pin the ring
  • 992ac17 Get nonce from all ETH nodes and compare it. Repeat if not equal #447
  • 05e8238 Skip risky stack tracing on Windows
  • b915842 Don't use the headers-only mode on Windows
  • b446afc Use correct decimals number on ERC20 history processing.
  • d6bcb05 Merge branch 'mm2' into mm2-wip
  • 7c32322 Fix remaining CORE mentions in peers
  • ca83462 Skip tests in the Docker build
  • eeb4d0b Split non-portable parts into separate build path
  • d88bc19 Fix ETH/ERC20 payments refunds #448
  • 714d6f2 Fix order cancel, reset the vol right before price ping creation #426
  • e5fc007 Add cancel_all_orders API #426
  • fc0a5a6 Cancel the maker order if available amount is less than 0.00777.
  • 88111d3 Add sync_status to my_tx_history. Refactor ERC20 history preloading.
  • d8c70ea Fix few panics caused by unwrap on Err/None #442 #443
  • 9e5736d Fix BCH support #388
  • 6dd5dc7 Remove the taker order immediately when swap is started.
  • f8269d8 Fix rare case when KMD tx JSON errors to deserialize #441
  • 86b981d Add the initial request to all possible JSON RPC client errors #419
  • d5da49e Use more electrum servers in some tests for redundancy.
  • 80697b4 Remove the orders from DB too on set_price with cancel_previous = true [ #438 ]
  • b652ca9 Add SSL support to Electrum client #436 (#437)
  • e1fff9e Add RUST_BACKTRACE to troubleshoot Win CI build.
  • dcd4f7c Make 3 attempts in case of error to get tx details during swap #424
  • 9370208 Run cargo test in powershell instead of bash on Windows CI.
  • 0dbab87 Handle "history too large" in electrum mode properly #435
  • ab593b4 Merge pull request #434 from artemii235/mm2-prevent-swap-race [ #432 ]
  • 6cd3557 Track the coin balance locked by ongoing swaps #432
  • 09b8207 Add "cancel_previous" param to "setprice" #433
  • 39566ee Update Dockerfile.
  • 3c0ea3e Reset the electrum client connected state on send error only.
  • d8b03f3 Add cancellable field to my_orders and order_status.
  • dee09ea Update README.
  • 5802284 Kickstart/persist the orders on MM2 restart #430 (#431)
  • 4df6941 Add "my_orders" API #429
  • 0db7b12 Note needing a session id
  • a5951f4 Remove useless test and logging statement in other test.
  • ffb1c6a Add environment variable overrides
  • 1a0aa18 Allow for simultaneous SWAPs with same seed
  • e76277a Support fast client restarts
  • e21c1f1 Keep the gravity log in the library mode
  • daabb1f Use high voltage emoji for electrum connections
  • e2c2a9a Ignore test_peers_direct_send.
  • 23f3e0c Add my_info field to my_swap_status and my_recent_swaps.
  • 293591c Deserialize my_recent_swaps to SavedSwap, not generic Json.
  • 60344a2 Stop ignoring tests that should pass.
  • b4541b9 Add integer_atomics to mm2_lib
  • b5b65b0 Allow for log output callback when using mm2 as a library
  • 8bfc787 Clear LP_STOP_RECEIVED for tests [ #402 ]
  • d99f1b8 Test MM restart
  • 2d1cb0d Mention debug symbols plans
  • a3bf84c Avoid running the tests twice in parallel
  • da2539a Catch and log test panics
  • a3c27ed Run marketmaker_build_depends automatically
  • ba04b0d Escape spaces in build paths
  • fc95332 Cherry pick mm2_test from dc201cff
  • 645ad1d Catch up
  • 78a42d1 Stop unwrapping "list_received_by_address" result #419
  • 5be2e80 Stop unwrapping to get the tx details from coin during the swap.
  • 2e7e0cf Add MmCtxBuilder for MmArc initialization.
  • d9d9322 Implement automatic swap kick start after interruption (#421)
  • d794c7b Reduce ETH RPC calls error output by using Display instead of Debug #418
  • 6ef9e00 Deduct the volume by 0.1 when using max:true for setprice #414
  • b8494ab Use BigDecimal type for balance check before order creation #414.
  • 42bd24e Add "max" arg to setprice call to use entire balance for order #414
  • 0d8ae98 Keep working if at least 1 electrum address is connected #367
  • 9bfda1b Merge pull request #416 from artemii235/mm2-price-ping-signature [ #366 ]
  • e1978d9 Use Rust code to sing "postprice" requests #366
  • f3e518b Wait 1 additional hour before refunding the swap payments #412
  • b2a12cf Create separate dispatcher for P2P messages handling.
  • 1f63144 Possibly fix komodo_validate_interest failed on KMD tx broadcast. #412
  • 097222a Fix cancel_order and order_status error message and status code.
  • c756a02 Set ordermatch timeout= 30 seconds. Fix maker matches timeout condition.
  • 413bc82 Add cancel_order API #398
  • 4c90ac1 Remove the previous base/rel maker orders upon setprice call.
  • cd6a530 Increase timeout for taker -> maker order conversion and maker matches.
  • cd966b9 Add uuid field to MakerOrder.
  • e51ecdf Fix tests.
  • 718b310 Add order_status API.
  • d9c7c5d Return the created TakerRequest data in response of buy/sell.
  • 611d579 Huge ordermatch refactoring #245 #379 #403
  • 3cfca52 Merge branch 'mm2' into mm2-http-fallback
  • 4e5ae70 Allow electrum conn errors on RPC call.
  • 36f3720 Fix tests according to currently working electrums.
  • cd5dafa Use fallback chunks to assemble payload [ #340 ]
  • 113a4f2 Disable Electrum tests due to maintenance
  • 66fc701 Decompress and parse the prefix search results [ #340 ]
  • 306a863 Compress the prefix search results [ #340 ]
  • 9703ebc Return prefix matches [ #340 ]
  • 3555365 Create DB dir recursively using std::fs::create_dir_all #411
  • c2d70fe Poll the fallback server [ #340 ]
  • 815e470 Track delayed salts [ #340 ]
  • 3da0968 Invoke hf_poll when there are delayed gets [ #340 ]
  • 78f803c Detect when a chunk seems delayed [ #340 ]
  • d40c454 Move manage_http_fallback [ #340 ]
  • c5a0f7b Store replicated fallback map [ #340 ]
  • 0a41ddc Detect when replicated map changes [ #340 ]
  • 00e5318 Prototype HTTP fallback store [ #340 ]
  • 282bc2a Test fallback exchange [ #340 ]
  • cb19031 Remove finished Package instances
  • c20140d Rename the peers_thread
  • cf35e9c Forward fallback seconds to peers thread [ #340 ]
  • beb20f5 Pass fallback timeouts to peers [ #340 ]
  • 22bb92e Merge pull request #410 from artemii235/mm2-max-withdraw [ #409 ]
  • 290e92e Add "max" arg to withdraw RPC to send entire balance. #409
  • 07034ec Use correct decimals (8) to validate the balance on swap start. #408
  • d844eaa Add rmd_160 to DB path to use unique location per passphrase #404
  • 7f25a83 Parse ETH address "before" checksum validation to avoid panics.
  • 0039f23 Implement "Mixed-case checksum address encoding" for ETH. #394
  • dbcd12e Fix ETH history on mainnet. #354 (#405)
  • 02dbf70 Display proper address in orderbook. Fix few warnings. #400 (#401)
  • 3acd100 Opt in to integer_atomics
  • b27548a Share RPC status via mm2_main_status
  • 6b911d9 Merge branch 'mm2' into mm2-http-fallback
  • 1c07814 Allow to set WIF or hex encoded privkey as passphrase. #396. (#399)
  • 4708402 Store CRDT maps [ #340 ]
  • 4afcb6f Add address to error message when electrum_connect fails.
  • 69a2d41 Deny setprice and buy/sell when base == rel #363
  • 647eb38 #382 fix interest calc: value must be at least 10 KMD.
  • 9550725 Stop default enable of KMD and BTC. Privkey init -> lp_passphrase_init. [ #387 ]
  • e1f8134 Fix tests.
  • dbd4241 #298 put deprecation message instead of "old" RPC userpass.
  • 6a6f3f3 Fix estimate_fee_sat for native mode, use default value if <= 0.00001.
  • e08ee35 Calc dynamic fee based on tx size. Avoid dexfee to be dust on buy/sell. [ #385 ]
  • b26f221 Merge remote-tracking branch 'origin/mm2' into mm2
  • 7f09787 #390 Use i64 for confirmations of ListTransactionsItem, can be -1.
  • 400758e Merge pull request #393 from artemii235/mm2-kmd-interest [ #382 ]
  • f8db61e #382 automatically claim interest when KMD transaction is created.
  • 2633293 #354 return response in proper format when there's no history for coin.
  • df55568 #354 enable tx_history for default KMD and BTC.
  • 3655f97 #354 Mm2 erc20 + ETH tx history (#389)
  • 188709a Use proper TakerPaymentValidateFailed instead of TakerFeeValidateFailed.
  • 037473c Merge branch 'mm2-http-fallback' into mm2
  • cc9e7d4 Use HTTP fallback server to test IP
  • 499668b #385 Use String type for RPC transaction output addresses.
  • e06aab3 Use structs for swap events data to always provide key-value JSON.
  • 5b82a86 Add my_balance_change field to slightly ease the displaying.
  • 03aa305 #354 add my_tx_history for UTXO coins. (#383)
  • c99eaf8 #299 Fix 100% CPU usage caused by ctx existence check without delays.
  • e92f2b0 #380 set =0.1.2 for tokio-tcp as try_clone is deprecated in 0.1.3.
  • fe63248 Stop logging every deserialized utxo tx in output_amount.
  • c6794ce #366 Null check price ping signature to avoid segfault.
  • 6c53013 #381 Fix maker refund payment. Request was sent to wrong coin.
  • 8628568 Communicate in test_bind
  • ac1c7f5 Create the MM_VERSION file
  • 79d61e5 Save the DHT state to the writeable dbdir always [ #323 ]
  • 726b3a3 #377 Upload nightly binaries as "latest", more convenient in some usecases. (#378)
  • 0991457 #352 Add "my_recent_swaps" API. (#376)
  • 5faf990 Merge pull request #375 from artemii235/mm2-dht
  • a33cac0 Check LOG_UNHANDLED_ALERTS at runtime
  • 898876b Configure the initial DHT nodes with MM_DHT_NODES
  • 9f374db Merge branch 'mm2-backport' into mm2
  • bc32dce Reload version from a file
  • 677245b Exclude MM_VERSION
  • 8dc94e3 Remove unnecessary logging from lp_network.
  • bd7c477 #283 leave only working RPC methods in help.
  • 3a12c09 #100 Remove nanomsg, curl, use Rust std tcpstreams for ordermatching msg exchange. (#374) [ #371 ]
  • c250c6b Check the opened files limit
  • 9bf82b5 Merge pull request #372 from artemii235/mm2-lt
  • 273b7f5 #360 Ignore errors on clean up step.
  • 4ff36fc Merge remote-tracking branch 'remotes/origin/mm2' into mm2-lt
  • 27a6721 #360 add clean up as separate stage before win deps build.
  • b0809ff Merge remote-tracking branch 'remotes/origin/mm2' into mm2-lt
  • 62f23f2 #360 Perform git clean on CI build if $CLEANUP = "true".
  • 1761249 Upgrade libtorrent build
  • 8ec0415 #369 Load JSON config from MM2.json file if cmd arg is not present.
  • be1847a #368 Add rpc_local_only allowing to disable loopback only RPC check.
  • a7ad38d Merge branch 'mm2-rpcport' into mm2
  • 5bc63ed Prepend the Hyper error with the URI
  • 32b91ca Temporarily log the wallet URI [ #359 ]
  • c8a15ad Add 2 cipi nodes to default MM2 seeds.
  • 2fde998 #355 Stop calling LP_portfolio in prices_loop.
  • 34c3332 #100 Add lp_process_command logs for troubleshooting.
  • ca36bb6 Use the wallet rpcport [ #359 ]
  • 691d70d Merge pull request #362 from artemii235/mm2-userhome
  • de33219 Remove the ported code
  • 56e6eb5 Dot the name in confpath
  • c949ca0 Use the documented name logic for confpath
  • 8f55835 Ignore test_peers_direct_send
  • 0352a91 Link with secp256k1 in Rust
  • 260155d Port wallet conf path
  • 1f80357 Ignore test_peers_direct_send
  • 6c79c67 Link with secp256k1 in Rust
  • 38496f0 Merge pull request #351 from artemii235/mm2-backport
  • d013a78 Separate the library and binary roots
  • f4f495f Create binary and library both
  • 42754fd Opt out from lld-link as it's often missing
  • 415627c Remove outdated checks
  • 7d222ce Reduce DHT logging
  • b26a918 Avoid direcly using mutexes in C structs
  • 8e1b6cc #358 Shuffle Electrum/ETH nodes urls to spread the load.
  • d9b56e5 #357 Add success and error events names to my_swap_status response.
  • c8b7a09 #356 Split Maker/Taker confirmation events.
  • 5e858a0 Wait 1 confirmation of swap payments for all coins. Add more logging.
  • 3c9f0fc #341 Fix "my_prices" deadlock.
  • 225b8f8 #348 Fix support of GRS and SMART, use proper checksum hashes.
  • 59e500a #342 Fix CHIPS and DASH transactions serde when txversion = 2.
  • 1c202e6 #349 Remove heapsize from underlying dependencies.
  • a5e39ef Mention the fresh fresh docs
  • 5068800 #350 Remove rust-crypto from underlying dependencies.
  • eedf5af #342 Debug log before UTXO tx deserialize.
  • 477869d #345 Make "account" field optional for NativeUnspent.

This list of changes was auto generated.

Assets 5

@artemii235 artemii235 released this Jan 9, 2019

Fix support of coins with txversion > 4 and standard sighash method.

E.G. ECA (Electra) uses txversion:7.
Assets 5

@artemii235 artemii235 released this Dec 15, 2018

Merge pull request #237 from jl777/dev

Update from upstream repo jl777/SuperNET@dev
Assets 5

@artemii235 artemii235 released this Dec 7, 2018

Merge pull request #236 from jl777/dev

Update from upstream repo jl777/SuperNET@dev
Assets 5

@artemii235 artemii235 released this Dec 6, 2018

Merge pull request #235 from jl777/dev

Update from upstream repo jl777/SuperNET@dev
Assets 5

@artemii235 artemii235 released this Dec 6, 2018

Merge pull request #234 from jl777/dev

Update from upstream repo jl777/SuperNET@dev
Assets 5
You can’t perform that action at this time.