Commit Graph

  • 5ea90f2fdd Speed up fetching transactions using block signature catbref 2020-09-11 15:56:19 +01:00
  • c628f97d8c Speed up fetching block height based on timestamp catbref 2020-09-11 15:55:54 +01:00
  • 8a1e2f4111 Reduce HSQLDBRepository log noise by omitting idle session info catbref 2020-09-11 15:54:32 +01:00
  • 41f244d549 Add bitcoinj Context propagation catbref 2020-09-11 15:52:59 +01:00
  • 79641efa87 Tighten up trade-bot, ElectrumX catbref 2020-09-10 12:03:37 +01:00
  • ca3fcc3c67 Tighten up sync status reporting, especially when using forcesync catbref 2020-09-03 12:57:29 +01:00
  • de8e5ec920 Updated AdvancedInstaller project file based on v1.3.5 release catbref 2020-09-01 11:08:37 +01:00
  • f833e44bd5 Update tools/build-zip.sh to reflect updated start.sh, and also to take optional git tag catbref 2020-09-01 10:41:52 +01:00
  • 8b0b1db5a4 Improved start-up shell script "start.sh" catbref 2020-09-01 10:25:48 +01:00
  • 5b95f3af02 Bump to v1.3.5 v1.3.5 catbref 2020-08-31 11:53:12 +01:00
  • 3cc66609e8 Trial implementation of offline repository periodic maintenance. catbref 2020-08-31 11:51:38 +01:00
  • ce468d22dd Fix updating of current tradeoffers list as used by tradeoffers websocket catbref 2020-08-31 11:25:21 +01:00
  • 3e19516f62 Correct poor synchronization on NTP offset, potentially fixing issue #22 catbref 2020-08-31 10:24:10 +01:00
  • 84dba739d9 Give up on cross-chain trade if initial AT doesn't confirm within 24 hours catbref 2020-08-31 09:21:15 +01:00
  • 99315c7378 Correct wrong source for lockTimeA when Bob waiting for P2SH-B. Spotted by tcallahan14. In lieu of PR #23 catbref 2020-08-31 09:14:15 +01:00
  • 1ca5b864a9 Repository optimizations! catbref 2020-08-26 17:16:45 +01:00
  • 96eb60dca3 More HSQLDB tests to cover fixes for various HSQLDB issues, especially when using custom HSQLDB build catbref 2020-08-25 17:02:14 +01:00
  • c67fcb0034 Updated AdvancedInstaller project file based on v1.3.4 release catbref 2020-08-24 15:40:29 +01:00
  • 273dfe2365 Bump to v1.3.4 v1.3.4 catbref 2020-08-24 15:05:51 +01:00
  • 5952ea4b54 RU translations thanks to Alexander45 catbref 2020-08-24 15:04:33 +01:00
  • 1708ba077c Actually define static constants for BTC fees until dynamic fees happen catbref 2020-08-24 14:28:54 +01:00
  • b4301f125d Potential fix for issue #22 catbref 2020-08-24 14:27:03 +01:00
  • 9e52f20f71 Revert back to HSQLDB v2.5.0-fixed until out-of-memory issue located catbref 2020-08-24 14:07:36 +01:00
  • 31bf388cab BlockMinter (now under org.qortal.controller package) doesn't need full previous block, only previous block data catbref 2020-08-24 14:04:11 +01:00
  • 276c479a5f Refactor to allow better Bitcoin fee estimation in the future. catbref 2020-08-21 17:37:04 +01:00
  • 9393689037 Send BTCACCT refunds to first unused received address instead of address derived from tradePrivateKey. catbref 2020-08-21 17:35:33 +01:00
  • 76485010ad Merge pull request #16 from tcallahan14/feature/electrum_nodes catbref 2020-08-21 13:34:49 +01:00
  • b8ac128d5c Improve comparing chains where some blocks signed with cancelled reward-share catbref 2020-08-21 12:27:06 +01:00
  • 06c75310a1 Updated Electrum nodes list. All nodes have been tested to ensure they respond to jsonrpc calls. CalDescent 2020-08-15 16:53:09 +01:00
  • b9d819220d Bumped HSQLDB to v2.5.1 and AT/cross-chain SQL speed-ups! catbref 2020-08-15 11:12:10 +01:00
  • 7a569f342f Reduce confusing BlockMinter log spam - issue #9 catbref 2020-08-15 10:52:48 +01:00
  • f1efae79c8 Speed-ups for some AT-related SQL queries catbref 2020-08-14 11:54:33 +01:00
  • 1cd4bbc078 Refactored various websockets to event bus from old BlockNotifier/StatusNotifier catbref 2020-08-14 10:03:51 +01:00
  • 0b5e5832c4 Added another repository deadlock test while investigating a deadlock case catbref 2020-08-14 09:57:08 +01:00
  • 7db96c672f Bump to v1.3.3 v1.3.3 catbref 2020-08-13 14:16:50 +01:00
  • f8725d6313 Modify ApplyUpdate to pass JVM options to Windows launcher EXE catbref 2020-08-13 14:08:47 +01:00
  • 2165c87b9d Fix race condition between Network.start() and Controller calling Network.prunePeers() catbref 2020-08-13 13:45:06 +01:00
  • f61e320230 Fix API call GET /crosschain/trades (get completed trades) due to poorly performing SQL query. catbref 2020-08-13 11:56:08 +01:00
  • 6c1b21da22 Bump to v1.3.2 v1.3.2 catbref 2020-08-12 17:30:37 +01:00
  • f6216b9745 Respect repositoryBackupInterval when deciding whether to perform backup during auto-update. Issue #10 catbref 2020-08-12 14:22:36 +01:00
  • 91e82d1e3c Add HSQLDB CHECKPOINT statements between database reshaping statements to reduce failures catbref 2020-08-12 14:20:23 +01:00
  • 50e2bda020 Quicken blockchain validity check at start-up by only checking most recent 1440 blocks catbref 2020-08-12 14:19:14 +01:00
  • ab1de1aafa Improve HSQLDB query for finding latest AT state data catbref 2020-08-12 14:18:05 +01:00
  • d4ac87f91d Update to more efficient CIYAM AT v1.3.7 catbref 2020-08-12 14:17:09 +01:00
  • 52f4008725 Bump version to v1.3.1 v1.3.1 catbref 2020-08-10 15:24:37 +01:00
  • d8dd71ff50 Fix off-by-one in some sync cases catbref 2020-08-10 15:22:01 +01:00
  • 02966bf39a Update CIYAM-AT to v1.3.6 to make use of lambda-based logging catbref 2020-08-10 14:05:42 +01:00
  • a83d8bf1d5 Split Synchronizer into two strategies depending on whether swapping chains or simply adding new blocks catbref 2020-08-10 14:00:45 +01:00
  • 1e4432b1f3 Convert LOBs to VARBINARY in DB, reducing sizes at the same time catbref 2020-08-10 13:59:56 +01:00
  • d50c979d9f Tighten limit on AT sizes catbref 2020-08-10 13:59:20 +01:00
  • 4e60ec5192 Disable peer buffer dealloc for now to reduce GC pressure catbref 2020-08-10 13:58:12 +01:00
  • 31c4e3b1be Reduce memory PoW during network handshake catbref 2020-08-10 13:57:16 +01:00
  • b97fbd3171 Bug-fix for cached online accounts catbref 2020-08-07 16:19:32 +01:00
  • 43fb5d9332 Cache top 2 blocks' worth of online account data to avoid unnecessary Ed25519 verifications catbref 2020-08-07 13:33:31 +01:00
  • ea3f1a8eff Actually respond to peers requesting unknown block instead of letting them timeout on their side catbref 2020-08-07 13:32:19 +01:00
  • 7bb060781e Bump to v1.3.0 - including new trade-portal feature v1.3.0 catbref 2020-08-06 15:40:11 +01:00
  • a1ab0b7c31 Added more nodes to initial list catbref 2020-08-06 15:38:52 +01:00
  • fae2afd010 Remove obsolete github repo from potential auto-update sites catbref 2020-08-06 15:23:13 +01:00
  • 76c0a5a4fa Increase default Bitcoin transaction fee to 5000 sats catbref 2020-08-06 13:12:54 +01:00
  • cdb65657b6 Added qortal.ru nodes to initial nodes list used when creating DB catbref 2020-08-06 09:51:14 +01:00
  • 9007dfe779 Added API call POST /crosschain/btc/send for sending Bitcoin catbref 2020-08-06 09:46:08 +01:00
  • 99d09a9877 Change HTTP response codes for BTC_BALANCE_ISSUE and BTC_TOO_SOON from 422 to 402 & 408 catbref 2020-08-06 09:45:38 +01:00
  • afcf51399e Minor post-merge fix-up catbref 2020-08-06 09:18:08 +01:00
  • 47679b7f6c Merge branch 'trade-bot' catbref 2020-08-06 09:00:45 +01:00
  • 8f2985862d Update BTC-ACCT 'cancel' API call to expect AT creator's as sender catbref 2020-08-06 08:52:51 +01:00
  • 23a524b464 BTC-ACCT: change AT so 'cancel' MESSAGE needs to come from AT creator's address (not trade address) so fee can be used instead of PoW for faster cancels catbref 2020-08-06 08:23:49 +01:00
  • ce8992867d Include last 24 hours of CANCELLED & REFUNDED trade offers in first message catbref 2020-08-05 20:58:25 +01:00
  • c89de7adfb Add creatorAddress, qortAmount and (last updated) timestamp to trade-bot entries catbref 2020-08-05 16:00:40 +01:00
  • cac68ccc14 Added trade-bot websocket catbref 2020-08-05 13:23:24 +01:00
  • d507383487 Rework ApiWebSocket so it can manage sessions and in readiness to conversion from "notifiers" to event-bus catbref 2020-08-05 13:23:07 +01:00
  • ce5cf87094 Added unified, simple event bus to eventually replace controller "notifiers" catbref 2020-08-05 13:20:19 +01:00
  • ec2c9d2a44 Improve /crosschain/tradebot/respond with varied API errors such as BTC_BALANCE_ISSUE, BTC_NETWORK_ISSUE, etc. instead of just "false" catbref 2020-08-05 10:05:09 +01:00
  • 36d0abe635 WIP: trade-bot: log warning when we can't fund P2SH-B for some reason catbref 2020-08-05 10:04:25 +01:00
  • 615381ca5a Fix BTC spend txn building to be less aggressive about caching/checking spent keys catbref 2020-08-05 10:03:08 +01:00
  • 6b83499216 WIP: trade-bot: add support for showing trade partner's Qortal receiving address in trade offer summaries catbref 2020-08-04 20:35:22 +01:00
  • faa2e9502b WIP: trade-bot: include creation/latest timestamp (as appropriate) in trade offer summaries via websocket catbref 2020-08-04 17:00:36 +01:00
  • cd07240ce7 Add BTC.getWalletBalance(xprv) and add API call to access that. catbref 2020-08-04 16:37:44 +01:00
  • 91518464c2 WIP: trade-bot: fix empty bitcoin wallet edge case when finding UTXOs catbref 2020-08-04 12:26:09 +01:00
  • 25bf315e23 WIP: trade-bot: tradeoffers websocket initial message with OFFERING/REDEEMED and fixed subsequent messages catbref 2020-08-04 11:21:57 +01:00
  • a8743b1bd3 ElectrumX network main-net servers catbref 2020-08-03 19:28:55 +01:00
  • f90bd6ee45 WIP: trade-bot: added WS for streaming existing/new trades in OFFERING state catbref 2020-08-03 17:57:22 +01:00
  • a351756883 WIP: trade-bot: add missing JavaTypeAdapter to TradeBotData.bitcoinAmount catbref 2020-08-03 15:52:17 +01:00
  • ea9b0d4588 WIP: trade-bot: initial API call for listing completed trades catbref 2020-08-03 14:54:45 +01:00
  • e9c85c946e WIP: trade-bot: two more unit tests to cover some edge cases catbref 2020-08-03 10:49:47 +01:00
  • 876bfb525b WIP: trade-bot: more receive address support, some terminology clarification catbref 2020-08-03 09:36:46 +01:00
  • 6be67d0d92 WIP: trade-bot: make sure the "trade" private key is valid for both Curve25519 and secp256k1 catbref 2020-07-30 08:12:45 +01:00
  • 16581766c6 WIP: trade-bot: detect and remove mempool entries from ElectrumX "listunspent" results catbref 2020-07-29 20:48:06 +01:00
  • 7fd7104f46 WIP: trade-bot: add flag to be set by AT if redeem happens so trade-bot detects redeem instead of refund catbref 2020-07-29 20:25:28 +01:00
  • d2cae7c8b5 WIP: trade-bot: use correct Bob Bitcoin receive address in log entry catbref 2020-07-29 18:14:47 +01:00
  • 83955acd22 WIP: trade-bot: allow trade-bot entries to be deleted if in BOB_WAITING_FOR_AT_CONFIRM state. Also, return false (instead of throwing internal error) if trade-bot entry does not exist catbref 2020-07-29 18:13:27 +01:00
  • d85b746021 WIP: trade-bot: add xprv validation method to BTC class and use that for API call /crosschain/tradebot/respond instead of vague byte-length check catbref 2020-07-29 18:11:47 +01:00
  • e2dc91c1ea Fix API call DELETE /crosschain/tradeoffer regarding PoW MESSAGE reference catbref 2020-07-29 10:38:32 +01:00
  • 098e2623d6 WIP: cross-chain AT now stores bitcoin receiving PKH catbref 2020-07-28 17:21:54 +01:00
  • 2df045396d Bump to v1.2.3 v1.2.3 catbref 2020-07-28 11:27:21 +01:00
  • 6c182a3567 Allow minting accounts to be removed from node using public key as well as private key catbref 2020-07-28 10:45:06 +01:00
  • 340d6dfc8d Add websocket error handler support catbref 2020-07-27 10:16:21 +01:00
  • eb27b0d3e2 Blocks websocket now returns simpler block info catbref 2020-07-24 14:52:14 +01:00
  • 7377893050 WebSocket improvements, inc. bump Jetty to v9.4.29-20200521 catbref 2020-07-23 12:12:13 +01:00
  • 21d7a4eed1 Improved AT PUT_TX_AFTER_TIMESTAMP_INTO_A function catbref 2020-07-17 11:46:39 +01:00
  • fb2c2b1d09 Added API call GET /blocks/summaries catbref 2020-07-20 13:05:43 +01:00